''' Created on Feb 15, 2015 @author: tudor ''' a = int(input()) b = int(input()) print(a+b)