1
print(sum(map(int, (input(), input()))))