s=[input() for _ in range(3)] print('BLUE' if s.count('BLUE')>s.count('RED') else 'RED')