S = [input().strip() for _ in range(3)] print(['RED', 'BLUE'][S.count('BLUE') > 1])