#! /usr/bin/env ruby
# coding: utf-8
while n = gets.to_i
  break if n == 0
  v = gets.split.map{|e| e.to_i }
  raise "assert" unless v.length == n
  count = {}
  count.default = 0
  v.each do |e|
    count[e] += 1
  end
  ans = "NO COLOR"
  count.each do |k, v|
    ans = k if v > n / 2
  end
  puts ans
end
    