*values, answer = gets.split(' ').map(&:to_i) puts("#{'in' unless (values.reduce(&:sum) == answer)}correct".capitalize)