#include using namespace std; typedef long long ll; #define FOR(I,A,B) for(ll I = ll(A); I < ll(B); ++I) const ll MOD = 1000000007; int main(){ string a,b; cin >> a >> b; ll ans; if(b[0]=='-'){ ans = stoi(a) + stoi(b); }else{ a += b; ans = stoi(a); } cout << ans << endl; }