'''
Kattis - Simple Addition

Just basic big integer addition, literally one liner with python

Time: O(1), Mem: O(1)
'''
print(int(input())+int(input()))
'''
Kattis - Simple Addition

Just basic big integer addition, literally one liner with python

Time: O(1), Mem: O(1)
'''
print(int(input())+int(input()))
Kattis - Simple Addition  Just basic big integer addition, literally one liner with python  Time: O(1), Mem: O(1)