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