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