#include using namespace std; int main() { string A, B; cin >> A >> B; if (B[0] != '-') { if (A == "0") { A.pop_back(); } cout << A + B << endl; } else { cout << stoll(A) + stoll(B) << endl; } }