using System; public class Program { public void Solve() { int red = 0; for (int i = 0; i < 3; i++) { if (Console.ReadLine().Equals("RED")) { red++; } } if (red >= 2) { Console.WriteLine("RED"); } else { Console.WriteLine("BLUE"); } } public static void Main(string[] args) { Program program = new Program(); program.Solve(); } }