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