NA = int(input()) NB = int(input()) ST = input() print(str(NA+NB)+" "+ST)