/** * author: ivanzuki * created: Fri May 07 2021 **/ #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(0); int tt; cin >> tt; while (tt--) { string a, b, c; int n; cin >> a >> b >> n >> c; ++n; cout << a << ' ' << b << ' ' << n << ' ' << c << '\n'; } return 0; }