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