/* -*- coding: utf-8 -*- * * 1423.cc: No.1423 Triangle of Multiples - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ /* typedef */ typedef long long ll; /* global variables */ /* subroutines */ /* main */ int main() { int tn; scanf("%d", &tn); while (tn--) { int a, b, c; scanf("%d%d%d", &a, &b, &c); ll x = (ll)a * b * c; printf("%lld %lld %lld\n", x, x, x); } return 0; }