def solve freq, n
  half = n / 2
  color = "NO COLOR"
  freq.size.times do |i|
    if freq[i] && freq[i] > half
      color = i
      break
    end
  end
  color
end

until (n = $stdin.gets.to_i) == 0
  freq = Array.new
  star = $stdin.gets.chomp.split(" ").map(&:to_i).sort!
  star.each do |color|
    freq[color] = 0 if freq[color] == nil
    freq[color] += 1
  end
  puts solve(freq, n)
end