a = int(input()) b = int(input()) inf = 10 ** 100 assert 0 <= a <= inf assert 0 <= b <= inf print(a + b)