#include <iostream>
#include <map>
using namespace std;

int main(){
    map<int,int> space;
    int a_size;

    while(cin >> a_size, a_size != 0){
        bool flug = false;
        space.clear();
        for(int i=1; i<=a_size; i++){
            int n;
            cin >> n;
            if(flug == false){
                space[n]++;
                if(space[n] > a_size / 2){
                    cout << n << endl;
                    flug = true;
                }
            }
        }
        if(flug == false){
            cout << "NO COLOR" << endl;
        }
    }
    return 0;
}