#include using namespace std; #define REP(i,n) for (int i=0,_n=(int)(n); i < _n; i++) template bool chkmin(T &a, T b) { return a > b ? (a = b, true) : false; } template bool chkmax(T &a, T b) { return a < b ? (a = b, true) : false; } typedef long long ll; int main2() { 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; return 0; } int main() { for (;!cin.eof();cin>>ws) main2(); return 0; }