print(str(sum(int(x) for x in raw_input().split())) + " " +raw_input())