#include <iostream>
#include <map>

using namespace std;

int main() {
  for (;;) {
    int A;
    cin >> A;
    if (!A) return 0;
    map<int, int> cs;
    for (int i = 0; i < A; i++) {
      int c;
      cin >> c;
      cs[c]++;
    }
    bool f = false;
    for (map<int, int>::iterator it = cs.begin(); it != cs.end(); ++it)
      if (2*it->second > A) {
        cout << it->first << endl;
        f = true;
        break;
      }
    if (!f)
      cout << "NO COLOR" << endl;
  }
}