#include<bits/stdc++.h>
#define rep(i, x) for(ll i = 0; i < x; i++)
#define rep2(i, x) for(ll i = 1; i <= x; i++)
#define all(a) (a).begin(),(a).end()
using ll = long long;
using ld = long double;
const ll INF = 10000000000000000;
using namespace std;
signed main() {
    ll a = 0;
	rep(i, 3) {
		string s; cin >> s;
		if (s == "RED") { a++; }
	}
	if (a >= 2) { cout << "RED" << endl; }
	else { cout << "BLUE\n"; }
	return 0;
}