s=[input() for _ in '1'*3];r,b=0,0 for i in s: if i=='RED': r+=1 else: b+=1 print('RED' if r>b else 'BLUE')