#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int res = 0;
  int neg;
  while (true) {
    char ch = getchar();
    if (ch >= '0' && ch <= '9' || ch == '-') {
      if (ch == '-')
        neg = -1;
      else
        neg = 1, res = ch - '0';
      break;
    }
  }
  while (true) {
    char ch = getchar();
    if (ch >= '0' && ch <= '9')
      res *= 10, res += ch - '0';
    else
      break;
  }
  return res * neg;
}
const int maxn = 500020;
const int maxm = 1000020;
const int MOd = 1e9 + 7;
const int P = 37;
int a, top[maxn];
char ar[maxn];
int main() {
  scanf(" %s", ar + 1);
  a = strlen(ar + 1);
  for (int i = 1; i <= a; i++) {
    int h = 0;
    h |= (ar[i] == 'I');
    h |= (ar[i] == 'E');
    h |= (ar[i] == 'A');
    h |= (ar[i] == 'O');
    h |= (ar[i] == 'U');
    h |= (ar[i] == 'Y');
    top[i] = top[i - 1] + h;
  }
  double ans = 0.0;
  long long t = 0;
  for (int i = 1; i <= a; i++) {
    t += top[a - i + 1] - top[i - 1];
    ans += (double)t / i;
  }
  printf("%lf\n", ans);
  return 0;
}
