#include<iostream>
using namespace std;
void update(int *p,int *q) {
*p=(*p)+(*q);
*q=(*p)-(*q);
}
int main() {
int a, b;
cin>>a;
cin>>b;
update(&a,&b);
cout<<a;
cout<<b;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIHVwZGF0ZShpbnQgKnAsaW50ICpxKSB7CipwPSgqcCkrKCpxKTsKKnE9KCpwKS0oKnEpOwp9CgppbnQgbWFpbigpIHsKaW50IGEsIGI7CmNpbj4+YTsKY2luPj5iOwp1cGRhdGUoJmEsJmIpOwpjb3V0PDxhOwpjb3V0PDxiOwoKcmV0dXJuIDA7Cn0K