import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = ""; int countR = 0; int countB = 0; for ( int i = 0; i < 3; i++ ){ s = sc.next(); if ( s.equals("RED")) countR++; else if ( s.equals("BLUE")) countB++; } if( countB > countR) System.out.println("BLUE"); else System.out.println("RED"); sc.close(); } }