package yukicoder; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int cntRed = 0 , cntBlue = 0; String disp ; for(int i = 0 ; i < 3 ; i++){ if(sc.nextLine().equals("RED")){ cntRed++; }else{ cntBlue++; } } if(cntRed > cntBlue){ disp = "RED"; }else{ disp = "BLUE"; } System.out.println(disp); } }