#include<stdio.h>

#define AMAX 1000000

int main(){
  int i,n,color[AMAX],mc,mcount,b;

  while(1){
    scanf("%d",&n);
    if(!n) break;
    for(i=0;i<AMAX;i++) color[i]=0;
    scanf("%d",&mc);
    color[mc-1]=mcount=1;
    for(i=0;i<n;i++){
      scanf(" %d",&b);
      color[b-1]++;
      if(color[b-1]>mcount){
	mc=b;
	mcount=color[b-1];
      }
    }
    if(2*mcount>n){
      printf("%d\n",mc);
    }else{
      printf("NO COLOR\n");
    }
  }
  return 0;
}