#include <bits/stdc++.h>
using namespace std;
const int N = 1e5;
int t, a, b, c, d;
bool isTriangle(int x, int y, int z) { return (x * x + y * y - z * z == 0); }
int main() {
  ios_base::sync_with_stdio(0);
  cin >> t;
  for (int i = 0; i < t; i++) {
    cin >> a >> b >> c >> d;
    int x = b, y = c, z = c;
    while (x + y <= z) {
      if (x < b) {
        x++;
      } else {
        y++;
      }
    }
    cout << x << " " << y << " " << z << endl;
  }
  return 0;
}
