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