#include using namespace std; using ll = long long; int main(){ string a, b; cin >> a >> b; if(a == "0" || a == "-0"){ cout << b << endl; return 0; } if(b.front() == '+'){ ll ans = stoll(a); b = b.substr(1); ans += stoll(b); cout << ans << endl; return 0; } if(b.front() == '-'){ ll ans = stoll(a); b = b.substr(1); ans -= stoll(b); cout << ans << endl; return 0; } cout << a + b << endl; return 0; }