A = [input()for i in range(3)] print(("BLUE","RED")[A.count("RED") > 1])