#include <iostream>
using namespace std;
int main() {
int a,b;
int i;
int answer=0;
cin>>a;
cin>>b;
for(i=1;i<=a;++i)
answer=answer+1;
for(i=1;i<=b;++i)
answer=answer+1;
cout<<answer<<endl;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgYSxiOwoJaW50IGk7CglpbnQgYW5zd2VyPTA7CgljaW4+PmE7CgljaW4+PmI7Cglmb3IoaT0xO2k8PWE7KytpKQoJCWFuc3dlcj1hbnN3ZXIrMTsKCWZvcihpPTE7aTw9YjsrK2kpCgkJYW5zd2VyPWFuc3dlcisxOwoJY291dDw8YW5zd2VyPDxlbmRsOwoJcmV0dXJuIDA7Cn0=