#include using namespace std; using ll = long long; int main() { int t;cin >> t; while(t--) { ll a,b,c;cin >> a >> b >> c; cout << a*b*c << " " << a*b*c << " " << a*b*c << endl; } return 0; }