#include <iostream>
#include <string>

int check(std::string s) {
    if (s == "RED") {
        return 1;
    } else {
        return -1;
    }
}

int main() {
    int c = 0;
    std::string s1, s2, s3;
    std::cin >> s1 >> s2 >> s3;
    c += check(s1);
    c += check(s2);
    c += check(s3);
    if (c > 0) {
        std::cout << "RED" << std::endl;
    } else {
        std::cout << "BLUE" << std::endl;
    }
}