#include <bits/stdc++.h>
#define rep(i,n) for(int i=0; i<(n); i++)
using namespace std;
typedef long long ll;

int main(){
	int red=0;
	int blue=0;
	rep(i,3){
		string s; cin>>s;
		if(s=="RED") red++;
		else blue++;
	}
	if(red>blue) cout << "RED" << endl;
	else cout << "BLUE" << endl;	
}