// solution for yukicoder_5395 // author : lynmisakura #include using namespace std; using ll = long long; #define REP(i,N) for(int (i) = 0;(i) < (N);(i)++) void main2(){ ll a,b,c;cin >> a >> b >> c; REP(i,3) cout << a*b*c << ' '; cout << '\n'; } int main(){ cin.tie(0); ios::sync_with_stdio(false); //cout << fixed << setprecision(20); int tt;cin >> tt; while(tt--) main2(); return 0; }