#include <bits/stdc++.h>
const double eps = 1e-8;
const int oo = 0x3f3f3f3f;
using namespace std;
long long a, b, c, d;
bool read() {
  if (!(cin >> a >> b >> c >> d)) return false;
  return true;
}
void process() { cout << b << " " << c << " " << c << endl; }
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int t = -1;
  cin >> t;
  while (t-- && read()) {
    process();
  }
  return 0;
}
