#include <bits/stdc++.h>
using namespace std;
long long f[500005];
int main() {
  string s;
  cin >> s;
  for (int i = 1; i <= s.size(); i++)
    f[i] = (s[i - 1] == 'I' || s[i - 1] == 'O' || s[i - 1] == 'E' ||
            s[i - 1] == 'A' || s[i - 1] == 'U' || s[i - 1] == 'Y');
  for (int i = 1; i <= s.size(); i++) f[i] = f[i - 1] + f[i];
  long long cur = 0;
  long double ans = 0;
  for (int i = 1; i <= s.size(); i++)
    cur += (f[s.size() - i + 1] - f[i - 1]),
        ans += (long double)cur / (long double)i;
  printf("%.10Lf", ans);
  return 0;
}
