import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class CountVowelsRunner {

	public static void main(String args[]) {
		try {
			File inputFile = new File("names.txt");
			Scanner input = new Scanner(inputFile);

			while (input.hasNext()) {
				int count = 0;
				String line = input.nextLine();
				String str = line.toLowerCase();

				for (int i = 0; i < str.length(); i++) {
					char ch = str.charAt(i);
					if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') {
						count++;
					}
				}
				System.out.println("Vowel Count: " + count + " Name: " + line);
			}

			input.close();

		} catch (IOException e) {
			System.out.println("File not found: " + e.getMessage());
		}

	}
}
