// Aizu Vol-10 1008: What Color Is The Universe?
// 2017.8.19 bal4u@uu

#include <stdio.h>
#include <string.h>

#define HASHSIZ 299993
typedef struct { int n, c; } HASH;
HASH hash[HASHSIZ + 5], *hashend = hash + HASHSIZ;

int color, cnt;

int lookup(int n)
{
	HASH *p = hash + n % HASHSIZ;
	while (p->n) {
		if (p->n == n) return ++(p->c);
		if (++p == hashend) p = hash;
	}
	p->n = n, p->c = 1;
	return 1;
}

int main()
{
	int n, i, k;

	while (scanf("%d", &n) && n) {
		memset(hash, 0, sizeof(hash)), cnt = 1;
		for (i = 0; i < n; i++) {
			scanf("%d", &k);
			if (lookup(k) == cnt) cnt++, color = k;
		}
		if (--cnt > n / 2) printf("%d\n", color);
		else puts("NO COLOR");
	}
	return 0;
}