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