import java.util.Scanner; public class Main { @SuppressWarnings("resource") public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int g=scanner.nextInt(); int c=scanner.nextInt(); int p=scanner.nextInt(); String s=scanner.next(); int x[]= {g,c,p}; int sc=0; for(int i=0;i