# No.1249 小学校1年生の夢 # https://yukicoder.me/problems/no/1249 def calc(input) input.split(" ").map(&:to_i).then { |a, b, c| a + b == c ? "Correct" : "Incorrect" } end # input = "4 1 7" input = gets puts calc(input)