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