public String isValid(String name) {
		char[] vowels = new char[] { 'a', 'i', 'u', 'e', 'o' };
		if (name.length() == 8) {
			int count = 0;
			for (char string : vowels) {
				int tmp = 0;

				for (int i = 0; i < name.length(); i++) {
					char c = name.charAt(i);
					if (c == string) {
						tmp++;
					}
				}
				if (tmp != 2 && tmp>0) {
					break;
				}
				count += tmp;
			}
			if (count == 2) {
				return "YES";
			}
		}
		return "NO";
	}