cnt = 0 for i in range(3): S = str(input()) if S == 'RED': cnt += 1 if cnt <= 1: print('BLEU') else: print('RED')