a = map(int,input().split()) c = input() print(sum(a),c)