A = input() B = A.split() C = input() print(int(B[0])+int(B[1]), C)