r = 'RED' b = 'BLUE' R = 0 B = 0 for _ in range(3): if input() == r:R += 1 else:B += 1 if R > B:print(r) else:print(b)