#include using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (int)(n); i++) template bool chmin(T& a, T b){if(a > b){a = b; return true;} return false;} template bool chmax(T& a, T b){if(a < b){a = b; return true;} return false;} const long long mod=998244353; const long long mod2=469762049; void solve(){ ll N,M,K;cin>>N>>M>>K; cout<sync_with_stdio(0); cout.tie(0); int T;cin>>T; while(T--) solve(); }