#include<bits/stdc++.h>
using namespace std;

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