#yuki_516 s=[] for i in xrange(3): s.append(raw_input()) cnt=s.count('RED') if cnt>1: print 'RED' else: print 'BLUE'