baloon = [] for color in range(0,3): baloon.append(input()) if baloon.count("BLUE") >= 2: print("BLUE") else: print("RED")