### main

loop do
  n = gets.strip.to_i
  break if n == 0

  hn = n / 2
  as = gets.strip.split(' ').map(&:to_i)
  #p as

  ahash = Hash.new(0)
  max_a = nil

  as.each{|a| ahash[a] += 1; max_a = a if ahash[a] > hn}

  puts (max_a.nil? ? 'NO COLOR' : max_a)
end