static void Main(string[] args)
{
string s = null;
Console.Write("Input:");
while ((s = Console.ReadLine()) != "0")
{
s = s.ToUpper().Trim();
string[] words = s.Split(new char[] { ' ' },StringSplitOptions.RemoveEmptyEntries);
Console.Write("Result:");
foreach (string c in words)
{
Console.Write(c.Split('A','E','I','O','U').Length - 1);
Console.Write(" ");
}
Console.Write("nnInput:");
}
}