gets answer = eval gets.chomp.tr(" ", "+") p answer - gets.to_i