count_red = 0 count_blue = 0 for _ in range(3): s = input().strip() if s == "RED": count_red += 1 else: count_blue += 1 if count_red > count_blue: print("RED") else: print("BLUE")