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