#include<iostream>
#include<algorithm>
using namespace std;
typedef long long ll;
__int128 read()
{
__int128 x = 0,f = 1; char c = getchar();
while(c < '0' || c > '9') {if(c == '-') f = -1;c = getchar();}
while(c >= '0' && c <= '9')
{
x = (x<<1) + (x<<3) + (c^48),c = getchar();
}
return x*f;
}
void write(__int128 x)
{
if(x < 0) putchar('-'),x = -x;
if(x >= 10)
{
write(x/10);
}
putchar(x%10 + '0');
}
int main()
{
__int128 a,b;
a = read(),b = read();
write(a+b);
return 0;
}