import Control.Monad
import Control.Applicative
import Data.List

main :: IO ()
main = do
  n <- readLn :: IO Int
  unless (n == 0) $ do
    ns <- map read . words <$> getLine :: IO [Int]
    let ans = maximumBy
              (\l r -> compare (length l) (length r))
              $ group $ sort ns
    if length ans > (length ns `div` 2)
      then print (head ans)
      else putStrLn "NO COLOR"
    main