loop do
  n = gets.to_i
  break if n==0
  hash = Hash.new(0)
  gets.split.each{|s|
    a = s.to_i
    hash[a] += 1
  }
  if (n + 1) / 2 >= hash.size
    mk, mv = hash.max_by{|k,v| v}
    if mv*2>n
      puts mk
    else
      puts "NO COLOR"
    end
  else
    puts "NO COLOR"
  end
end
