#include <bits/stdc++.h>
using namespace std;

int main() {
    int a = 0, b = 0;
    string s;
    for (int i = 0; i < 3; i++) {
        cin >> s;
        a += (s == "RED");
        b += (s == "BLUE");
    }
    
    cout << (a < b ? "BLUE" : "RED") << '\n';
    return 0;
}