#include <bits/stdc++.h>
using namespace std;
string s;
long double VOW(char c) {
  if (c == 'I' || c == 'E' || c == 'A' || c == 'O' || c == 'U' || c == 'Y')
    return 1.;
  return 0.;
}
long double sum[10000001];
int main() {
  cin >> s;
  for (int i = 1; i <= s.length(); ++i) {
    sum[i] = VOW(s[i - 1]);
    sum[i] += sum[i - 1];
  }
  sum[s.length() + 1] = sum[s.length()];
  long double ans = 0;
  long double temp = sum[s.length()];
  for (int i = 1; i <= s.length(); ++i) {
    ans += temp / i;
    int l = i + 1;
    int r = s.length() - i;
    if (l > r) {
      --l;
      ++r;
      if (l >= r) {
        swap(l, r);
        --l;
        temp -= (sum[r] - sum[l]);
      }
    } else {
      --l;
      temp += (sum[r] - sum[l]);
    }
  }
  cout << fixed << setprecision(12) << ans;
  return 0;
}
