A, B, S = int(input()), int(input()), input() print(f'{A + B} {S}')