#include <algorithm> #include <cmath> #include <complex> #include <cstdlib> #include <functional> #include <iomanip> #include <iostream> #include <limits.h> #include <map> #include <math.h> #include <numeric> #include <queue> #include <stdio.h> #include <stdlib.h> #include <string> #include <time.h> #include <unordered_map> #include <vector> using namespace std; int main() { int Red = 0; int Blue = 0; for (int i = 0; i < 3; i++) { string s; cin >> s; if (s == "RED") { Red++; } else if (s == "BLUE") { Blue++; } } cout << (Red > Blue ? "RED" : "BLUE") << endl; }