#include <bits/stdc++.h>
using namespace std;
char s[1000000];
int cnt[1000000];
bool ok(char k) {
  if (k == 'A' || k == 'E' || k == 'I' || k == 'O' || k == 'U' || k == 'Y')
    return true;
  return false;
}
int main() {
  int i, j, m, n, k, len;
  memset(cnt, 0, sizeof(cnt));
  scanf("%s", s);
  len = strlen(s);
  for (i = 0; i < len; i++)
    if (ok(s[i]))
      cnt[i + 1] = cnt[i] + 1;
    else
      cnt[i + 1] = cnt[i];
  double ans = 0;
  double c = 0;
  for (i = len; i > 1; i--) {
    double tmp = (double)(c + (cnt[i] - cnt[len - i]));
    ans += tmp / (double)i;
    c = tmp;
  }
  printf("%.8lf\n", ans + cnt[len]);
  return 0;
}
