var a,b: longint;
begin;
assign(input, 'input.txt'); reset(input);
assign(output, 'output.txt'); rewrite(output);
read(a,b);
write(a+b);
end.
with open('input.txt') as fi, open('output.txt', 'w') as fo:
a, b = int(fi.readline()), int(fi.readline())
print(a + b, file=fo)