loop do
  n = gets.to_i
  break if n==0
  a = gets.split
  hash = Hash.new(0)
  a.each do |i|
    hash[i]+=1
  end
  ans = "NO COLOR"
  hash.each do |key,value|
    ans = key if value>n/2
  end
  puts ans
end