#include <stdio.h>
#include <stdlib.h>

#define N 1000000
#define INT(X) \
  ( *( (const int *)(X) ) )

int comparator (
  const void  * a,
  const void  * b
  )
{
  return ( INT( a ) - INT( b ) );
}

/** Application main entry point. */
int main (
  int     argc,
  char  * argv[ ]
  )
{
  int i;

  for ( ; ; )
  {
    int d[ N ];
    int n;

    scanf ( "%d", &n );
    if ( !( n ) ) break ;
    for ( i = 0; i < n; ++i )
    {
      scanf ( "%d", d + i );
    }
    qsort ( d, n, sizeof ( int ), comparator );

    for ( i = 0; i < n; ++i )
    {
      int c;

      for ( c = i; c < n && d[ i ] == d[ c ]; ++c ) ;
      if ( c - i > n / 2 )
      {
        printf ( "%d\n", d[ i ] );
        goto CONTT;
      }
    }
    puts ( "NO COLOR" );
CONTT: ;
  }

  return ( 0 );
}