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