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.InputStream;
import java.util.Scanner;

public class E2 {
	final static char []vowels = new char[]{'I', 'E', 'A', 'O', 'U', 'Y'};
	public static void main(String[] args) {
//		InputStream is = new FileInputStream(new File("E.txt"));
		InputStream is = System.in;
		Scanner sc = new Scanner(is);
		String word = sc.next(); 
		char[] letters = word.toCharArray();
		int i, j, k;
		
		int isV[] = new int[letters.length];
		
		int inx=0;
		boolean v;
		for (char c:letters) {
			v = isVowel(c);
			isV[inx++] = v ? 1 : 0;
		}
		int N = isV.length;
		double total = 0;
//		for (i=0; i<N; i++) {
//			sum+=isV[i];
//		}
		
//		            N
//		1 1 1 1 1 1 1 m=1   
//		1 2 2 2 2 2 1 m=2
//		1 2 3 3 3 2 1 m=3
//		1 2 3 4 3 2 1 m=4
//		1 2 3 3 3 2 1 m=5		
//		1 2 2 2 2 2 1 m=6
//		1 1 1 1 1 1 1 m=7   N   

//1		7/1 + 7/7
//2		(7+(7-2))/2   +  (7+(7-2))/(7+1-2)  
//3		(7+((7-2)+(7-4)))/3
//4		7+((7-2)+(7-4)+(7-6))/4
		
//        N
//1 1 0 1 1 1 1 m=1  6  (7)   -1  [3]  
//1 2 0 2 2 2 1 m=2  10 (12)  -2
//1 2 0 3 3 2 1 m=3  12 (15)  -3
//1 2 0 4 3 2 1 m=4  13 (16)  -3
//1 2 0 3 3 2 1 m=5  12	(15)  -3	
//1 2 0 2 2 2 1 m=6  10 (12)  -2 
//1 1 0 1 1 1 1 m=7  6  (7)   -1

//        N
//1 1 1 0 1 1 1 m=1  6  (7)   -1   [4]  
//1 2 2 0 2 2 1 m=2  10 (12)  -2        4 (5)
//1 2 3 0 3 2 1 m=3  12 (15)  -3        2 (3)
//1 2 3 0 3 2 1 m=4  12 (16)  -4        0 (1)
//1 2 3 0 3 2 1 m=5	 12	(15)  -3        0 (-1)
//1 2 2 0 2 2 1 m=6  10 (12)  -2       -2 (-3) 
//1 1 1 0 1 1 1 m=7  6  (7)   -1       -4 (-5)

		int minus[] = new int[N+1];
		for (i=0; i<N; i++) {
			minus[0] += isV[i];
		}
		for (i=1; i<=N; i++) {
			minus[i] = minus[i-1] - isV[i-1] - isV[N-i];
		}
//	   *[0, 1, 2, 3, 4, 5, 6, 7]
//		[0, 1, 2, 2, 3, 4, 5, 6]
//		[7.0, 12.0, 15.0, 16.0, 15.0, 12.0, 7.0]
		double weigth[] = new double[N];
		weigth[0] = minus[0];
		weigth[N-1] = minus[0];
		for (i=1; i<N-1; i++) {
			weigth[i] = weigth[i-1]+minus[i];//+(k-2*i);  minus[N-2*i]  +5 +3 +1 -1 -3 -5           7-2, 7-4, 7-6 7-8 7-10 7-12
		}
		for (j=0; j<N/2; j++) {
			i = j+1;
			k = N-j;
			total+=weigth[j]/i + weigth[j]/k;
		}
		if (N%2==1)	total+=weigth[N/2]/(N/2+1);
//		System.out.println(Arrays.toString(minus));
//		System.out.println(Arrays.toString(weigth));
		System.out.println(String.format("%f", total));
	}
	
	static boolean isVowel(char c) {
		for (int i=0; i<vowels.length; i++) {
			if (c == vowels[i]) return true;
		}
		return false;
	}
}