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