def solve freq, n
  half = n / 2
  max = -1
  color = -1
  freq.size.times do |i|
    if freq[i][1] > half && freq[i][1] > max
      color = freq[i][0]
      max = freq[i][1]
    end
  end
  color
end

until (n = $stdin.gets.to_i) == 0
  freq = Array.new
  star = $stdin.gets.chomp.split(" ").map(&:to_i).sort!
  count = 1
  (star.size-1).step(1, -1) do |i|
    if star[i] == star[i - 1]
      count += 1
    else
      freq << [star[i], count]
      count = 1
      freq << [star[0], count] if i == 1
    end
  end
  ans = solve(freq, n)
  if ans == -1
    printf "NO COLOR\n"
  else
    puts ans
  end
end