#include <bits/stdc++.h>
using namespace std;
int main() {
  int _;
  cin >> _;
  while (_--) {
    long long a, b, c, d;
    cin >> a >> b >> c >> d;
    cout << b << " " << c << " " << c << '\n';
  }
}
