#include #include #include #include #include #include #include #include #define ALL(obj) (obj).begin()(obj).end() #define DEBUG(x) cerr << #x << " = " << x << endl using namespace std; int main() { int n; int m; std::cin >> n; std::vector> works; for (int i = 0; i < n; i++) { std::string a; std::cin >> a; std::string b; std::cin >> b; int c; std::cin >> c; std::string d; std::cin >> d; std::cout << a << " " << b << " " << c + 1 << " " << d << std::endl; } }