#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t;
  scanf("%d", &t);
  long long x, a, b, c, d;
  while (t--) {
    scanf("%lld", &a);
    scanf("%lld", &b);
    scanf("%lld", &c);
    scanf("%lld", &d);
    x = d / 2;
    cout << b << " " << c << " " << c << endl;
  }
  return 0;
}
