from collections import Counter
s = list(filter(lambda x:x=="RED",[input(),input(),input()]))
print("RED") if len(s)>=2 else print("BLUE")