s = [] for i in range(3): s.append(input()) a = s.count("RED") if a == 2: print("RED") else: print("BLUE")