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