#include<iostream>
#include<algorithm>
#include<cstdio>

using namespace std;

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;
}

const int mod = 1009;
int value[mod];
int cnt[mod];

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

    for(int i = 0; i < mod; i++){
      value[i] = -1;
      cnt[i] = 0;
    }

    for(int i = 0; i < n; i++){
      int a = getInt();
      int m = a % mod;
      if(value[m] == -1) value[m] = a;
      if(++cnt[m] > n2) ans = a;
    }

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