red = 3 for i in range(3): tmp = raw_input() if tmp == "BLUE": red -= 1 if red > 2: print "RED" else: print "BULE"