print("BLUE" if [input() for _ in range(3)].count("BLUE") >=2 else "RED")