using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace programPractice { class Program { static void Main(string[] args) { int r = 0; int b = 0; for (int i = 0; i < 3; i++) { string a = Console.ReadLine(); if (a.Equals("RED")) { r++; } else { b++; } } if (r < b) { Console.WriteLine("BLUE"); } else { Console.WriteLine("RED"); } } } }