# frozen_string_literal: true gets.split.map(&:to_i) in [left, right, result] puts left + right == result ? 'Correct' : 'Incorrect'