import java.util.Scanner; public class Main{ private static Scanner sc=new Scanner(System.in); public static void main(String args[])throws Exception{ int r=0,b=0; for(int i=0;i<3;i++){ if(sc.nextLine().equals("RED"))r++; else b++; } if(r