#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;

int main() {
  int R = 0, B = 0;
  for(int i = 0; i < 3; i++){
    string S; cin >> S;
    if(S == "RED") R++;
    else B++;
  }
  if(R > B) cout << "RED" << endl;
  else cout << "BLUE" << endl;
}