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

int color_num;
int colors[1000000];

int qsort_comp(const void* x,const void* y) {
	int* a=(int*)x;
	int* b=(int*)y;
	if(*a>*b)return 1;
	if(*a<*b)return -1;
	return 0;
}

int main(void) {
	int i;
	int current_color;
	int count;
	while(1) {
		scanf("%d",&color_num);
		if(color_num==0)break;
		for(i=0;i<color_num;i++)scanf("%d",&colors[i]);
		qsort(colors,color_num,sizeof(int),qsort_comp);
		current_color=-1;
		count=0;
		for(i=0;i<color_num;i++) {
			if(colors[i]!=current_color) {
				if(count>color_num/2) {
					printf("%d\n",current_color);
					count=0;
					break;
				}
				count=1;
				current_color=colors[i];
			} else {
				count++;
			}
		}
		if(count>color_num/2)printf("%d\n",current_color);
		else puts("NO COLOR");
	}
	return 0;
}