using System;

class Program
{
    static void Main(string[] args)
    {
        int balloonFlg = 0;
        balloonFlg += (Console.ReadLine() == "RED" ? 1 : -1);
        balloonFlg += (Console.ReadLine() == "RED" ? 1 : -1);
        balloonFlg += (Console.ReadLine() == "RED" ? 1 : -1);

        Console.WriteLine(0 < balloonFlg ? "RED" : "BLUE");
    }
}