r,b=0,0 3.times do if gets =~ /R/ r += 1 else b += 1 end end puts r>b ? 'RED' : 'BLUE'