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

int getInt(){
  int ret = 0,c;
  c = getchar();
  while(!isdigit(c)) c = getchar();
  while(isdigit(c)){
    ret *= 10;
    ret += c - '0';
    c = getchar();
  }
  return ret;
}

#define mask (0xFF)
int cnt[mask];

int main(){
  int n;
  while(n = getInt()){
    int ans = -1;
    int i;
    const int n2 = n / 2;

    memset(cnt, 0, sizeof(cnt));

    for(i = 0; i < n; i++){
      int a = getInt();
      int m = a & mask;
      if(++cnt[m] > n2){
	ans = a;
	for(++i; i < n; i++)
	  getInt();
      }
    }

    if(ans == -1)
      puts("NO COLOR");
    else
      printf("%d\n", ans);
  }
  return 0;
}