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