#include #include #include #include #define REP(i, a, b) for (int i = int(a); i < int(b); i++) using namespace std; typedef long long int lli; int main() { int r = 0; REP (i, 0, 3) { string s; cin >> s; if (s == "RED") r++; } cout << (r >= 2 ? "RED" : "BLUE") << endl; return 0; }