#include using namespace std; #define rep(i,l,r) for(int i=(l);i<(r);++i) typedef long long ll; int main(){ int n; cin>>n; rep(i,0,n){ string a,b,c; int t; cin>>a>>b>>t>>c; cout<