#include <bits/stdc++.h>

using namespace std;

int main() {
    string s;
    int red = 0;
    int blue = 0;
    for (int i = 0; i < 3; i++) {
        cin >> s;
        if (s == "RED") {
            red++;
        } else {
            blue++;
        }
    }
    
    if (red > blue) {
        cout << "RED" << endl;
    } else {
        cout << "BLUE" << endl;
    }
    
    return 0;
}