#include #include #include #include #include #include #include #include #include #include #include #include #include #include typedef long long ll; using namespace std; const ll MOD = 1000000007LL; int main() { cin.sync_with_stdio(false); cin.tie(0); cout.tie(0); string a, b; cin >> a >> b; if (1 == 0 && (a[0] >= '0' && a[0] <= '9')) { ll A = 0; for (int i = a.size() - 1; i >= 0; i--) { if (a[i] == '-') { A = -A; } else { A *= 10LL; A += a[i] - '0'; } } ll B = 0; for (int i = b.size() - 1; i >= 0; i--) { if (b[i] == '-') { B = -B; } else { B *= 10LL; B += b[i] - '0'; } } cout << A + B << endl; } else { cout << a + b << '\n'; } return 0; }