#include #define rep(i,n)for(long long i=0;i<(n);i++) using namespace std; typedef unsigned long long ull; typedef long long ll; const ll INF=1e18; const int MOD=1e9+7; const double pi=acos(-1); int main(){ int r=0,b=0; rep(i,3){ string s; cin >> s; if(s[0]=='R')r++; else b++; } if(r>b)cout << "RED" << endl; else cout<<"BLUE" << endl; }