#include using namespace std; int main() { int A, B; cin >> A >> B; string S; cin >> S; cout << A + B << " " << S << endl; }