#include <bits/stdc++.h>
using namespace std;
int a, b, c, d;
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    cin >> a >> b >> c >> d;
    printf("%d %d %d\n", b, c, c);
  }
  return 0;
}
