a,b,c=input(),input(),input() blue_count=[a,b,c].count("BLUE") if 2<=blue_count: print("BLUE") else: print("RED")