a,b=map(int,input().split()) s=input() print(str(a+b)+" "+s)