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