a, b = map(int,input().split()) n = input() print("{0} {1}".format(a+b,n))