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