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 CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int getint() {
  int _x = 0, _tmp = 1;
  char _tc = getchar();
  while ((_tc < '0' || _tc > '9') && _tc != '-') _tc = getchar();
  if (_tc == '-') _tc = getchar(), _tmp = -1;
  while (_tc >= '0' && _tc <= '9') _x *= 10, _x += (_tc - '0'), _tc = getchar();
  return _x * _tmp;
}
bool equal(double _x, double _y) { return _x > _y - 1e-7 && _x < _y + 1e-7; }
int __ = 1, cs;
char c[500010];
int len;
double ans, dp[500010], cnt[500010];
double BIT[500010];
int lb(int x) { return x & (-x); }
void insert(int no, double dlt) {
  while (no <= len) {
    BIT[no] += dlt;
    no += lb(no);
  }
}
double query(int no) {
  double sum = 0;
  while (no) {
    sum += BIT[no];
    no -= lb(no);
  }
  return sum;
}
bool vowel(char ctmp) {
  return ctmp == 'I' || ctmp == 'E' || ctmp == 'A' || ctmp == 'O' ||
         ctmp == 'U' || ctmp == 'Y';
}
void build() {}
void init() {
  scanf("%s", c + 1);
  len = strlen(c + 1);
}
void solve() {
  for (int i = 1; i <= len; i++)
    if (vowel(c[i])) {
      int lft = i, rgt = len - i + 1;
      int tmp = min(lft, rgt);
      ans += (double)tmp;
      int low = tmp + 1, high = len + 1 - tmp;
      if (low <= high) {
        insert(low, tmp);
        insert(high + 1, -tmp);
      }
      int st = len + 2 - tmp;
      dp[st] += tmp - 1.0;
      cnt[st] += 1.0;
    }
  for (int i = 1; i <= len; i++) {
    double tsum = query(i);
    ans += tsum / (double)i;
  }
  for (int i = 1; i <= len; i++) {
    ans += dp[i] / (double)i;
    dp[i + 1] += dp[i] - cnt[i];
    cnt[i + 1] += cnt[i];
  }
  printf("%.20f\n", ans);
}
int main() {
  build();
  while (__--) {
    init();
    solve();
  }
}