# 標準入力から一行分を読み出し、文字列として格納する。 first = input() # 慣れてくると この一行でよい A, B = map(int, input().split()) # 2行目を読み込む S = input() print(str(A + B) + " " + S)