#include <bits/stdc++.h>

using namespace std;

int main() {
    int red = 0;
    for (int i = 0; i < 3; ++i) {
        string s;
        cin >> s;
        if (s[0] == 'R') red++;
    }

    if (red < 2) {
        cout << "BLUE" << endl;
    } else {
        cout << "RED" << endl;
    }
    return 0;
}