#include <bits/stdc++.h>
using namespace std;
int s[500005];
int main() {
  int i, n = 0;
  char c;
  memset(s, 0, sizeof(s));
  while ((c = getchar()) != '\n') {
    ++n;
    if (c == 'I' || c == 'E' || c == 'A' || c == 'O' || c == 'U' || c == 'Y')
      ++s[n];
    s[n] += s[n - 1];
  }
  double sum = 0, ans = 0;
  for (i = 1; i <= n; ++i) {
    sum += (s[n - i + 1] - s[i - 1]);
    ans = ans + sum / i;
  }
  printf("%.8lf\n", ans);
  return 0;
}
