#include using namespace std; using ll = long long; void solve(ll a, ll b, ll c) { ll p = a * b * c; cout << p << " " << p << " " << p << "\n"; } int main() { int t; cin >> t; while (t--) { ll a, b, c; cin >> a >> b >> c; solve(a, b, c); } }