a, b = [int(i) for i in raw_input().split()] s = raw_input() print a+b, s