#include <iostream>
using namespace std;
char buf[1 << 20], *_now = buf, *_end = buf;
#define getchar() (_now == _end && (_end = (_now = buf) + fread(buf, 1, 1 << 20, stdin), _now == _end) ? EOF : *_now++)
int input() {
int x = 0, f = 1;
char ch = getchar();
while (isdigit(ch) ^ 1) {
if (ch == '-') f = -1;
ch = getchar();
}
while (isdigit(ch)) {
x = x * 10 + ch - '0';
ch = getchar();
}
return x * f;
}
void solve() {
int A = input(), B = input();
cout << A + B << "\n";
}
int main() { solve(); }