#include using namespace std; using ll =long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll T; cin>>T; for(int t=0;t>L; ll d=1; while(L%2==0){ L/=2; d*=2; } if(L==1){ d/=4; L*=4; cout<<3*d<<" "<<4*d<<" "<<5*d<<"\n"; // cout<<"mada\n"; } else{ ll A=(L*L+1)/2; ll B=(L*L-1)/2; ll C=L; cout<