using System;
using System.Collections.Generic;
using System.Linq;

class Program
{
    public void Solve()
    {
        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");
    }

    static void Main()
    {
        var solver = new Program();
        solver.Solve();
    }
}