a = int(input()) b = int(input()) s = input() print(str(a + b) + " " + s)