S1 = input() S2 = input() S3 = input() L = [S1,S2,S3] counter = L.count("RED") if counter >= 2 : print("RED") else : print("BLUE")