print('BRLEUDE'[[input()for _ in range(3)].count('RED')>1::2])