import std.stdio; import std.string; void main() { int red = 0; foreach (i; 0 .. 3) { if (readln.chomp == "RED") red++; } writeln(red >= 2 ? "RED" : "BLUE"); }