#include<bits/stdc++.h>
using namespace std;
using ll=long long;
using ull=unsigned long long;
using i128=__int128_t;
using u128=__uint128_t;
using ld=long double;
void solve()
{
int a,b,c,d;//对于题目给的规则 注意到至少可以构成一个等腰三角形 对于一个等腰三角形 我们只需要两条等腰边的和大于第三边即可
cin >> a >> b >> c >> d;//所以我们只需要要等腰边尽可能大 第三边尽可能小即可
int x=a,y=c,z=c;//第三边取最小a 等腰边取最大c
cout << x << " " << y << " " << z << "\n";
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
int t=1;
cin >> t;
while(t--)
{
solve();
}
return 0;
}

京公网安备 11010502036488号