A, B = list(map(int, input().split())) S = input() print('{} {}'.format(A+B, S))