#include using namespace std; int main(){ string col; int blue = 0; int red = 0; for(int i = 0; i < 3; i++){ cin >> col; col == "RED" ? red += 1 : blue += 1; } cout << (red < blue ? "BLUE" : "RED") << endl; return 0; }