#!/usr/bin/ruby
while (n = STDIN.gets.chomp.to_i) != 0
  array = STDIN.gets.chomp.split(/\s+/)
  hash = Hash.new(0)
  array.each do |a|
    hash[a] += 1
  end

  key, num = hash.sort{|(k1, v1), (k2, v2)| v2 <=> v1}[0]
  if num > n / 2
    puts key
  else
    puts 'NO COLOR'
  end

end