from sys import stdin a, b = map(int, stdin.readline().split()) s = stdin.readline().rstrip() print(str(a + b) + " " + s)