import strutils, sequtils, algorithm, future

{.warning[SmallLshouldNotBeUsed]: off.}

when isMainModule:
  var
    n = 0
    m = 0
  for i in 0..<3:
    if stdin.readline[0] == 'R':
      n.inc
    else:
      m.inc

  if n > m:
    echo "RED"
  else:
    echo "BLUE"