Problem: One day, the Grasshopper was jumping on the lawn and found a piece of paper with a string. Grasshopper became interested what is the minimum jump ability he should have in order to be able to reach the far end of the string, jumping only on vowels of the English alphabet. Jump ability is the maximum possible length of his jump. 

Formally, consider that at the begginning the Grasshopper is located directly in front of the leftmost character of the string. His goal is to reach the position right after the rightmost character of the string. In one jump the Grasshopper could jump to the right any distance from 1 to the value of his jump ability.

<image> The picture corresponds to the first example.

The following letters are vowels: 'A', 'E', 'I', 'O', 'U' and 'Y'.

Input

The first line contains non-empty string consisting of capital English letters. It is guaranteed that the length of the string does not exceed 100. 

Output

Print single integer a — the minimum jump ability of the Grasshopper (in the number of symbols) that is needed to overcome the given string, jumping only on vowels.

Examples

Input

ABABBBACFEYUKOTT


Output

4

Input

AAA


Output

1

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const int MOD7 = (int)1e9 + 7;
template <class T1, class T2>
int upmin(T1 &x, T2 v) {
  if (x > v) {
    x = v;
    return 1;
  }
  return 0;
}
template <class T1, class T2>
int upmax(T1 &x, T2 v) {
  if (x < v) {
    x = v;
    return 1;
  }
  return 0;
}
const string vowel = "AEIOUY";
string seq;
void init() {
  cin >> seq;
  seq = "A" + seq + "A";
}
void preprocess() {}
int ok(int x) {
  int u = 0;
  while (u + x < seq.size()) {
    int pu = u;
    for (int i = 1; i <= x; ++i)
      for (int j = 0; j < vowel.size(); ++j) {
        if (vowel[j] == seq[u + i]) {
          u += i;
          break;
        }
      }
    if (u == pu) return 0;
  }
  return 1;
}
void solve() {
  int ans = INF;
  int lb = 1, rb = seq.size();
  while (lb <= rb) {
    int mid = lb + rb >> 1;
    if (ok(mid))
      ans = mid, rb = mid - 1;
    else
      lb = mid + 1;
  }
  cout << ans << endl;
}
signed main() {
  ios::sync_with_stdio(0);
  init();
  preprocess();
  solve();
  return 0;
}