#include #include #include using namespace std; using namespace atcoder; using namespace boost::multiprecision; void solve() { int T; cin >> T; while (T--) { string S, T, R; int N; cin >> S >> T >> N >> R; N++; cout << S << " " << T << " " << N << " " << R << endl; } } int main() { ios::sync_with_stdio(false); cin.tie(0); solve(); return 0; }