_sum = sum(list(map(int, input().split()))) print(_sum, input())