A,B = map(int,input().split()) S = input() C = A + B print(C,S)