List = [] for i in range(3): List.append(input()) if List.count("RED") > List.count("BLUE"): print("RED") else: print("BLUE")