import java.util.*;
public class PrintVowel{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
System.out.println("Enter the String");
String str = sc.nextLine();
System.out.println("No of vowel in the given String is : "+count_Vowel(str));
}
//Methods
public static int count_Vowel(String str){
int counter=0;
for(int i=0;i<str.length();i++){
if(str.charAt(i)=='a' ||str.charAt(i)=='e' ||str.charAt(i)=='i'
||str.charAt(i)=='o' ||str.charAt(i)=='u' ||
str.charAt(i)=='A'|| str.charAt(i)=='E' ||str.charAt(i)=='I'
||str.charAt(i)=='O' ||str.charAt(i)=='U'){
counter = counter+1;
}
}
return counter;
}
}