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