#include <bits/stdc++.h>
using namespace std;
const int maxn = 500000 + 10;
string s;
bool mark[maxn];
double ans;
long long sum[maxn];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cin >> s;
  for (int i = 0; i < s.size(); i++)
    if (s[i] == 'I' || s[i] == 'A' || s[i] == 'E' || s[i] == 'O' ||
        s[i] == 'U' || s[i] == 'Y')
      mark[i + 1] = true;
  int n = s.size();
  for (int i = 1; i <= n; i++) sum[i] = sum[i - 1] + mark[i];
  long long cnt = sum[n];
  ans = cnt;
  for (int i = 2; i <= n; i++) {
    cnt += (sum[n - i + 1] - sum[i - 1]);
    ans += (double)cnt / (double)i;
  }
  cout << setprecision(6) << fixed << ans << endl;
  return 0;
}
