import java.util.Scanner; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { int a1 = 1; int b1 = 1; int c1 = 1; String ans = "0"; Scanner s = new Scanner(System.in); String a = s.next(); String b = s.next(); String c = s.next(); if (a == "BLUE"){ a1 = -1; } if (b == "BLUE"){ b1 = -1; } if (c == "BLUE"){ c1 = -1; } if (a1+b1+c1<0){ ans = "BLUE"; }else{ ans = "RED"; } System.out.println(ans); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); } }