#include <bits/stdc++.h>
using namespace std;
int main() {
  long long d, n, T, m, x, a, b, c, arr[100][100];
  vector<int> v;
  map<int, int> mp;
  set<int> st;
  cin >> T;
  while (T--) {
    int cnt = 0, mxno = 0, mx = 0;
    cin >> a >> b >> c >> d;
    cout << b << " " << c << " " << c << endl;
  }
  return 0;
}
