S = [input() for i in range(3)]
cnt = 0
if sum(['BLUE' == Si for Si in S]) >= 2:
    print('BLUE')
else:
    print('RED')