#No.9001 標準入出力の練習問題(テスト用) A,B = map (int,input().split()) S = int(input()) print(A+B, S)