import java.util.*;
class vowel
{
public static void main(String args[])
{
Scanner in=new Scanner(System.in);
String s,ws=" ";
char ch;
int counter=0,d=0;
System.out.println("Enter a sentence");
s=in.nextLine();
s=s.toUpperCase();
s=s+" ";
int l=s.length();
for(int i=0;i<l;i++)
{
ch=s.charAt(i);
if(ch=='A'|| ch=='E' ||ch=='I'|| ch=='O' || ch=='U')
counter++;
ws=ws+ch;
if(ch==' ')
{
if(counter>0)
{
d++;
counter=0;
ws="";
}
}
}
System.out.println("The number of words containing at least one vowel in it is="+d);
}
}