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