r = 0
for i in range(3):
	t = input()
	if t == "RED":
		r += 1
if r > 1:
	print("RED")
else:
	print("BLUE")