#include <bits/stdc++.h>
using namespace std;
void Cin(__int128 &x)
{
x=0;int f=1;char ch=getchar();
while (!isdigit(ch)){if (ch=='-')f=-1;ch=getchar();}
while(isdigit(ch)){x=x*10+ch-48;ch=getchar();}
x*=f;
}
void A(__int128 x){
if(x>9) A(x/10);
putchar(x%10 + '0');
}
void Cout(__int128 x)
{
if(x<0)
{
x=-x;
putchar('-');
}
A(x);
}
signed main(){
__int128 a,b;
Cin(a);
Cin(b);
Cout(a+b);
return 0;
}