#include <bits/stdc++.h>
using namespace std;
long long n, sum[1000001];
string t;
int main() {
  cin >> t;
  for (int k = 0; k < t.size(); ++k) {
    if (t[k] == 'Y' || t[k] == 'U' || t[k] == 'O' || t[k] == 'A' ||
        t[k] == 'E' || t[k] == 'I')
      sum[k + 1] = sum[k] + 1;
    else
      sum[k + 1] = sum[k];
  }
  long l = 0, p = t.size();
  long double w = 0;
  long long s = 0;
  for (int k = 1; k <= t.size(); ++k) {
    s += sum[p] - sum[l];
    w += s / (k * 1.00);
    --p;
    ++l;
  }
  cout << fixed << setprecision(15) << w;
  return 0;
}
