A, B = list(map(int, input().split())) # [1, 2] S = input() N = A + B print(N,S)