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