#include using namespace std; int main() { int a,b; string s; cin>>a>>b>>s; a+=b; cout << a << " " << s; }