#include <iostream>
#include <string>

void solve() {
    int a = 0, b = 0;
    for (int i = 0; i < 3; ++i) {
        std::string s;
        std::cin >> s;

        if (s == "RED") {
            ++a;
        } else {
            ++b;
        }
    }

    std::cout << (a > b ? "RED" : "BLUE") << std::endl;
}

int main() {
    std::cin.tie(nullptr);
    std::ios::sync_with_stdio(false);

    solve();

    return 0;
}