#include #include #include #include #include #include #include #include #include #include #include #define FOR(i, a, b) for(int i=(a);i<=(b);i++) #define RFOR(i, a, b) for(int i=(a);i>=(b);i--) #define MOD 1000000007 using namespace std; int main(void) { string s, t, u; int red = 0, blue = 0; cin >> s >> t >> u; if (s.find("RED") != -1) { red++; } else { blue++; } if (t.find("RED") != -1) { red++; } else { blue++; } if (u.find("RED") != -1) { red++; } else { blue++; } if (blue > red) { cout << "BLUE" << endl; } else { cout << "RED" << endl; } return 0; }