#include<stdio.h>
#include<stdlib.h>
int main(){
	while(1){
		int i,n,nmax = 0,ans,*p;
		scanf("%d",&n);
		if(n==0)break;
		p=(int*)calloc(n,sizeof(int));
		if(!p){free(p);exit(-1);}
		for(i=0;i<n;++i){int t;scanf("%d",&t);p[t]++;if(nmax<p[t]){nmax=p[t];ans=t;}}
		if(nmax<=n/2.0)printf("NO COLOR\n");else printf("%d\n",ans);
		free(p);
	}
	return 0;
}