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