print("BRLEUDE"[(input()+input()+input()).count('RED')>1::2])