s=[input() for i in range(3)] print('BRLEUDE'[s.count('RED')>s.count('BLUE')::2])