#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>

using namespace std;


int main() {
	int i, j, k;

	int r = 0, b = 0;

	for (i =0 ; i < 3; i++) {
		string s;
		cin >> s;
		if (s == "RED") {
			r++;
		}
		else {
			b++;
		}
	}

	if (r > b) {
		cout << "RED" << endl;
	}
	else {
		cout << "BLUE" << endl;
	}


	getchar();
	getchar();
	return 0;
}