# -*- coding :utf-8 -*- baloon = [] for i in range(3): baloon.append(input()) if baloon.count('RED') > 1: print('RED') else: print('BLUE')