import java.io.PrintStream; import java.util.Arrays; import java.util.Scanner; /** * Solution to Is Y a Vowel? * * @author vanb */ public class y_vanb { /** Input. */ private static Scanner sc; /** Output. */ private static PrintStream ps; /** * Do it! */ private void doit() { char s[] = sc.next().toLowerCase().toCharArray(); int vowels = 0; int ys = 0; for( char c : s ) { if( c=='y' ) ++ys; else if( c=='a' || c=='e' || c=='i' || c=='o' || c=='u' ) ++vowels; } ps.println( vowels + " " + (vowels+ys)); } /** * Main. * * @param args unused * @throws Exception */ public static void main( String[] args ) throws Exception { sc = new Scanner( System.in ); ps = System.out; new y_vanb().doit(); } }