#include #include using namespace std; using ll=long long; using ull=unsigned long long; #define rep(i,n) for(int i=0; i<(n); i++) using mll=atcoder::static_modint<1000000007>; int main(){ int T; cin>>T; while(T--){ int A,B,C; cin>>A>>B>>C; int X=A*B*C; cout<