A, B = [int(_) for _ in input().split()] S = input() print(A+B, S)