// No.516 赤と青の風船
// https://yukicoder.me/problems/no/516
//
#include <iostream>
#include <vector>
#include <string>
using namespace std;

string solve(vector<string> &balloons);


int main() {
    const int num_of_balloons = 3;

    vector<string> balloons(num_of_balloons);
    for (auto i = 0; i < num_of_balloons; i++) {
        cin >> balloons[i];
    }
    string ans = solve(balloons);
    cout << ans << endl;
}

string solve(vector<string> &balloons) {
    int red = 0;
    int blue = 0;

    for (auto b: balloons) {
        if (b == "RED")
            red++;
        else
            blue++;
    }
    return (red > blue? "RED": "BLUE");
}