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