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 JAVA):

Solution:
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 * @author Jaswant Singh[joney_000][jaswantsinghyadav007@gmail.com][jaswant.singh@practo.com]
*/public class Main {
	public static void main(String[] args) {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		FastReader in = new FastReader(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskA solver = new TaskA();
		solver.solve(1, in, out);
		out.close();
	}
static class TaskA   {
FastReader in;
PrintWriter out;

void set(FastReader in , PrintWriter out) {
                this.in = in;
                this.out = out;
        }

public void solve(int testNumber, FastReader in, PrintWriter out) {
            set(in,out);

            String s = s();
            int n = s.length();
            long ans = 0L;
            int dp[] = new int[n+2];
            Arrays.fill(dp,n+1);
            for(int i = 1 ; i <= n ; i++)dp[i] = i;
            for(int i = 1 ; i <= n ; i++){

                if(s.charAt(i-1)=='A' || s.charAt(i-1)=='E' || s.charAt(i-1)=='I' ||s.charAt(i-1)=='O'|| s.charAt(i-1)=='U'||s.charAt(i-1)== 'Y'){
                    for(int j = i+1; j <= n; j++){
                        if(s.charAt(j-1)=='A' || s.charAt(j-1)=='E' || s.charAt(j-1)=='I' ||s.charAt(j-1)=='O'|| s.charAt(j-1)=='U'||s.charAt(j-1)== 'Y'){
                            dp[j] = Math.min(dp[j],Math.max(dp[i] , j-i));
                        }
                    }
                    dp[n+1] = Math.min(dp[n+1],Math.max(n+1-i , dp[i]));
                }
            }
            ans = dp[n+1];
            out.write(""+ans+"");

        }

String s() {
            return in.nextLine();
        }

}
static class FastReader   {
private InputStream stream;
private byte[] buf = new byte[4*1024];
private int curChar;
private int numChars;

public FastReader(InputStream stream) {
        this.stream = stream;
    }

public int read() {
        if (numChars == -1){
            throw new InputMismatchException ();
        }
        if (curChar >= numChars){
            curChar = 0;
            try{
                numChars = stream.read (buf);
            } catch (IOException e){
                throw new InputMismatchException ();
            }
            if (numChars <= 0){
                return -1;
            }
        }
        return buf[curChar++];
    }

private String readLine0() {
        StringBuilder buf = new StringBuilder ();
        int c = read ();
        while (c != '\n' && c != -1){
            if (c != '\r'){
                buf.appendCodePoint (c);
            }
            c = read ();
        }
        return buf.toString ();
    }

public String nextLine() {
        String s = readLine0 ();
        while (s.trim ().length () == 0)
            s = readLine0 ();
        return s;
    }

}
}