Problem: When Sasha was studying in the seventh grade, he started listening to music a lot. In order to evaluate which songs he likes more, he introduced the notion of the song's prettiness. The title of the song is a word consisting of uppercase Latin letters. The prettiness of the song is the prettiness of its title.

Let's define the simple prettiness of a word as the ratio of the number of vowels in the word to the number of all letters in the word.

Let's define the prettiness of a word as the sum of simple prettiness of all the substrings of the word.

More formally, let's define the function vowel(c) which is equal to 1, if c is a vowel, and to 0 otherwise. Let si be the i-th character of string s, and si..j be the substring of word s, staring at the i-th character and ending at the j-th character (sisi + 1... sj, i ≤ j).

Then the simple prettiness of s is defined by the formula:

<image>

The prettiness of s equals 

<image>

Find the prettiness of the given song title.

We assume that the vowels are I, E, A, O, U, Y.

Input

The input contains a single string s (1 ≤ |s| ≤ 5·105) — the title of the song.

Output

Print the prettiness of the song with the absolute or relative error of at most 10 - 6.

Examples

Input

IEAIAIO


Output

28.0000000


Input

BYOB


Output

5.8333333


Input

YISVOWEL


Output

17.0500000

Note

In the first sample all letters are vowels. The simple prettiness of each substring is 1. The word of length 7 has 28 substrings. So, the prettiness of the song equals to 28.

Solution (in JAVA):

Solution:
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;


import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Locale;
import java.util.NavigableSet;
import java.util.Random;
import java.util.SortedSet;
import java.util.StringTokenizer;
import java.util.TreeSet;



public final class CF_PrettySong {

	void log(int[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}


	void log(long[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}
	void log(Object[] X){
		int L=X.length;
		for (int i=0;i<L;i++){
			logWln(X[i]+" ");
		}
		log("");
	}


	void log(Object o){
		logWln(o+"\n");
	}

	void logWln(Object o){
		System.out.print(o);
		//outputWln(o);

	}
	void info(Object o){
		System.out.println(o);
		//output(o);
	}

	void output(Object o){

		outputWln(""+o+"\n");

	}

	void outputWln(Object o){
		// System.out.print(o);

		try {
			out.write(""+ o);
		} catch (Exception e) {

		}
	}


	String next(){
		while (st== null|| !st.hasMoreTokens()) {
			try {
				st=new StringTokenizer(in.readLine());
			} catch (Exception e) {
			}
		}
		return st.nextToken();
	}

	String nextLine(){
		try {
			return in.readLine();
		} catch (Exception e) {
		}
		return null;
	}

	int nextInt(){
		return Integer.parseInt(next());
	}


	long nextLong(){
		return Long.parseLong(next());


	}


	
	
	void solve(){
		double res=0;
		double[] r=new double[L];
		r[0]=1;
		for (int i=1;i<L;i++){
			r[i]=r[i-1]+1.0/(i+1);
		}
		int[] F=new int[L];
		for (int i=0;i<L;i++){
			if (i>0)
				F[i]=F[i-1];
			char c=S.charAt(i);
			if (c=='A' || c=='E' || c=='I' || c=='O' || c=='U'|| c=='Y')
				F[i]++;
		}
		for (int j=0;j<L;j++){
			res+=F[j]*(r[j]);
		}
		for (int i=1;i<L;i++){
			res-=F[i-1]*(r[L-1-i]);
		}
		DecimalFormat df=new DecimalFormat("#.#######");
		output(df.format(res));
	}
	
	
	void solveOld(){
		
		int[] v=new int[L]; // v[x] = valeur des chaines anterieurs de longueur x, et se terminant au point actuel
		int[] tot=new int[L]; // le cumul
		double res=0;
		
		for (int i=0;i<L;i++){
			int ad=0;
			char c=S.charAt(i);
			if (c=='A' || c=='E' || c=='I' || c=='O' || c=='U'|| c=='Y')
				ad=1;
			int[] tmp=new int[L];
			for (int x=0;x<i;x++){
				tmp[x+1]=ad+v[x];
				tot[x+1]+=ad+v[x];
			}
			tmp[0]=ad;
			tot[0]+=ad;
			v=tmp;
		}
			
			for (int x=0;x<L;x++){
				res+=((double)tot[x])/(x+1);
			}
	
		output(res);
	}
	
	// Global vars
	StringTokenizer st;
	BufferedReader in;
	BufferedWriter out;
	String S;
	int L;

	void process() throws Exception {



		Locale.setDefault(Locale.US);
		
		out = new BufferedWriter(new OutputStreamWriter(System.out));
		in=new BufferedReader(new InputStreamReader(System.in));

		S=next();
		L=S.length();
		solve();
		
		try {
			out.close();
		}
		catch (Exception e){}


	}



	public static void main(String[] args) throws Exception {
		CF_PrettySong J=new CF_PrettySong();

		J.process();


	}


}