class Program { static void Main(string[] args) { int redCount = 0; for (int i = 0; i < 3; i++) { string color = Console.ReadLine()!; if (color == "RED") { redCount++; } } if (redCount >= 2) { Console.WriteLine("RED"); } else { Console.WriteLine("BLUE"); } } }