import strutils var S = "" for i in 0 ..< 3: S. add readLine(stdin)[0] ["RED", "BLUE"][int(S.count('B') > 1)].echo