A,B=map(int,input().split()) s=input() print(str(A+B)+" "+s)