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