using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace template
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = 0;
            for (int i = 0; i < 3; i++)
            {
                if (Console.ReadLine() == "RED")
                {
                    n++;
                }
            }
            Console.WriteLine(n >= 2 ? "RED" : "BLUE");
        }
    }
}