input_1 = input() split_input_1 = input_1.split() A = split_input_1[0] B = split_input_1[1] N = int(A) + int(B) S = input() print (N,S)