red = 0
blue = 0
for i in range(3):

    if input() == 'RED':
        red += 1
    else:
        blue += 1

if red > blue:
    print("RED")
else:
    print('BLUE')