lst = [input().strip() for i in range(3)] R = 0 B = 0 for i in lst: if i[0] == 'R': R += 1 else: B += 1 if R > B: print('RED') else: print('BLUE')