#include <bits/stdc++.h>
#define REP(i, a, n) for(ll i = ((ll) a); i < ((ll) n); i++)
using namespace std;
typedef long long ll;

int main(void) {
    string col;
    int red = 0;
    REP(i, 0, 3) {
        cin >> col;
        if (col[0] == 'R') red++;
    }
    if (red < 2) cout << "BLUE" << endl;
    else cout << "RED" << endl;
    return 0;
}