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