#include #include int main() { std::string S[3]; for (int i = 0; i < 3; i++) { std::cin >> S[i]; } int RED = 0; int BLUE = 0; for (int i = 0; i < 3; i++) { if (S[i] == "RED") { RED++; } else if (S[i] == "BLUE") { BLUE++; } } if (RED > BLUE) { std::cout << "RED" << std::endl; } if (BLUE > RED) { std::cout << "BLUE" << std::endl; } return 0; }