s=list(input() for i in range(3)) count_r=0 count_b=0 for i in s: if i=='RED': count_r+=1 else: count_b+=1 if count_r>count_b: print('RED') else: print('BLUE')