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