n = sum(int(input().split())) s = input() print(n, s)