#include<stdio.h>
#include<string.h>

int main()
{
  char S[5];
  int total1= 0;
  int total2 = 0;
  int k = 0;
  
  for(int i=0;i<3;i++)
    {
        scanf("%s",S);
        k = strcmp(S,"RED");
        
        if(k != 0)
          {
            total1++;
          }
        else
          {
            total2++;
          }
    }
  if(total1 < total2)
    {
       printf("RED");
    }
  else
    {
       printf("BLUE");
    }
return 0;
}