import [Link].
*;
class ISC_2015_3
{
public static void main(String args[])throws IOException
{
BufferedReader stdin=new BufferedReader(new InputStreamReader([Link])
);
ISC_2015_3 obj=new ISC_2015_3();
int ct=0;
String s="";
int l=0;
while(ct!=1)
{
[Link]("Enter a sentence");
s=[Link]();
s=[Link]();
l=[Link]();
if([Link](l-1)=='.'||[Link](l-1)=='?')
ct++;
}
String s1="";
s=" "+s;
char ab;
char cd;
for(int i=0;i<l;i++)
{
ab=[Link](i);
cd=[Link](i+1);
if((ab==32)&&(cd>=97&&cd<=122))
{
s1=s1+" "+((char)(cd-32));
i++;
}
else
s1=s1+ab;
}
s1=[Link]();
[Link](s1);
String s2="";
int c=0,d=0;
[Link]("Word\t\t Vowels Consonants");
for(int i=0;i<[Link]();i++)
{
ab=[Link](i);
if(ab!=32)
{
if([Link](ab))
c=c+1;
else
d=1+d;
s2=s2+ab;
}
else
{
[Link](s2+"\t\t"+c+"\t"+d);
s2="";
c=0;
d=0;
}
}
}
boolean vowels(char ab)
{
if(ab=='A'||ab=='a'||ab=='E'||ab=='e'||ab=='I'||ab=='i'||ab=='o'||ab=='O
'||ab=='u'||ab=='U')
return true;
else
return false;
}
}