a, b = [int(x) for x in input().split()] s = input() print('{} {}'.format(a + b, s))