#include #include #include #include using namespace std; int max(int a, int b) { int x = (a > b) ? a : b; return x; } int min(int a, int b) { int x = (a < b) ? a : b; return x; } int main() { string s; int r=0, b=0; for (int i = 0; i < 3; i++) { getline(cin, s); if (s[0] == 'R') r++; else b++; } (r > b) ? cout << "RED" << endl : cout << "BLUE" << endl; return 0; }