import java.util.Scanner; public class N516 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String [] S=new String[3]; int red=0; int blue=0; String msg=""; for(int i=0;i<3;i++) { S[i]=sc.next(); if(S[i].equals("RED")) {red++;} else if(S[i].equals("BLUE")) {blue++;} } if(red>blue) {msg="RED";} else {msg="BLUE";} System.out.println(msg); } }