num = input().split() c = input() print("{0} {1}".format(int(num[0]) + int(num[1]), c))