import java.util.Scanner; class A{ public static void main(String[]$){ Scanner s=new Scanner(System.in); int r=0,b=0,i=0; while(i++<3)if(s.next().equals("RED"))r++;else b++; System.out.println(r>b?"RED":"BLUE"); } }