inputs = gets.split(" ").map(&:to_i) if inputs[0] + inputs[1] == inputs[2] puts "Correct" else puts "Incorrect" end