r=0
b=0
for i in range(0,3):
	x=input()
	if x=="RED":
		r=r+1
	elif x=="BLUE":
		b=b+1

if r<b:
	print("BLUE")
else:
	print("RED")