loop do
  n = gets.to_i
  break if n==0
  a = gets.split.map(&:to_i)
  a.sort!
  nums = a.uniq
  ans = "NO COLOR"
  nums.each do |num|
    c=0
    a.each do |x|
      c+=1 if x==num
    end
    if c>n/2
      ans = num
      break
    end
  end
  puts ans
end