s1 = input() s2 = input() s3 = input() a = [s1,s2,s3] if a.count("RED")>1: print("RED") else: print("BLUE")