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

Solution:
'''
def main():
    from sys import stdin,stdout
    n=int(stdin.readline())
if __name__=='__main__':
    main()
'''
#372
#1
'''
def main():
    from sys import stdin,stdout
    n,c=map(int,stdin.readline().split())
    tup=tuple(map(int,stdin.readline().split()))
    counter=1
    for i in range(1,n):
        if tup[i]-tup[i-1]<=c:
            counter+=1
        else:
            counter=1
    stdout.write(str(counter))
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    s=stdin.readline().strip().lower()
    dic={}
    qcounter=0
    for i in 'qwertyuiopasdfghjklzxcvbnm':
        dic[i]=0
    if len(s)<26:
        stdout.write('-1')
    else:
        for i in s:
            if i=='?':
                qcounter+=1
            else:
                dic[i]+=1
        l=[]
        x=list(dic.values()).count(0)
        if qcounter==26 and x==26:
            stdout.write('qwertyuiopasdfghjklzxcvbnm'.upper())
        elif x==0 and qcounter==0:
            stdout.write(s.upper())
        elif qcounter>=x:
            for i in 'qwertyuiopasdfghjklzxcvbnm':
                if dic[i]==0:
                    l.append(i.upper())
            m=len(l)
            i=0
            t=''
            for j in range(len(s)):
                if s[j]=='?':
                    if i>=m:
                        i=0
                    t=t[:j]+l[i]
                    i+=1
                else:
                    t+=s[j].upper()
            stdout.write(t)
        else:
            stdout.write('-1')
if __name__=='__main__':
    main()
'''
#373
#1
'''
def main():
    from sys import stdin,stdout
    n=int(stdin.readline())
    tup=tuple(map(int,stdin.readline().split()))
    if n==1:
        if tup[0]==0:
            stdout.write('UP')
        elif tup[0]==15:
            stdout.write('DOWN')
        else:
            stdout.write('-1')
    else:
        if tup[-1]-tup[-2]>0:
            if tup[-1]==15:
                stdout.write('DOWN')
            else:
                stdout.write('UP')
        else:
            if tup[-1]==0:
                stdout.write('UP')
            else:
                stdout.write('DOWN')
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    n=int(stdin.readline())
    s=stdin.readline().strip()
    rcount=s.count('r')
    bcount=s.count('b')
    #print(rcount,bcount)
    if n&1:
        count=0
        if abs(rcount-bcount)==1:
            if rcount>bcount:
                for i in s[::2]:
                    if i!='r':
                        count+=1
            else:
                for i in s[::2]:
                    if i!='b':
                        count+=1
        else:
            mid=n//2+1
            xtra=max(rcount,bcount)-mid
            if rcount>bcount:
                 for i in s[::2]:
                    if i!='r':
                        count+=1
            else:
                 for i in s[::2]:
                    if i!='b':
                        count+=1
            count+=xtra
    else:
        count=0
        if bcount==rcount:
            if s[0]=='r':
                for i in s[::2]:
                    if i!='r':
                        count+=1
            else:
                for i in s[::2]:
                    if i!='b':
                        count+=1
        else:
            count=abs(bcount-acount)
    stdout.write(str(count))
if __name__=='__main__':
    main()
'''
#3
'''
def main():
    from sys import stdin,stdout
    n,t=map(int,stdin.readline().split())
    s=stdin.readline().strip()
    d=s.index('.')
    p=s
    #print(p,s,d)
    for _ in range(t):
        n=len(s)
        #print(n)
        for i in range(d+1,n):
            #print(i)
            if int(s[i])>=5:
                if i-1==d:
                    t=int(s[i-2])+1
                    s=s[:i-2]+str(t)
                    break
                else:
                    t=int(s[i-1])+1
                    s=s[:i-1]+str(t)
                    break
        if p==s:
            break
        else:
            p=s
    stdout.write(s)
if __name__=='__main__':
    main()
'''
#ENCODE 16.1
#1
'''
def main():
    from sys import stdin,stdout
    for _ in range(int(stdin.readline())):
        s='pikachu'
        t=stdin.readline().strip()
        for i in t:
            if len(s)==0:
                break
            if i in s:
                s=s.replace(i,'')
        if(len(s)):
            stdout.write('NO\n')
        else:
            stdout.write('YES\n')
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    for _ in range(int(stdin.readline())):
        n=int(stdin.readline())
        n=n*(n+1)*(2*n+1)
        n//=6
        stdout.write(str(n)+'\n')
if __name__=='__main__':
    main()
'''
#5
'''
def main():
    def gcd(a,b):
        if b:
            return gcd(b,a%b)
        else:
            return a
    from sys import stdin,stdout
    n,q=map(int,stdin.readline().split())
    tup=tuple(map(int,stdin.readline().split()))
    for _ in range(q):
        c=0
        i=int(stdin.readline())
        if i!=1:
            for k in range(i-1):
                if gcd(tup[k],tup[i-1])!=1:
                    c+=1
        if c:
            stdout.write(str(c)+'\n')
        else:
            stdout.write('-1\n')
if __name__=='__main__':
    main()
'''
#374
#1
'''
def main():
    from sys import stdin,stdout
    n=int(stdin.readline())
    s=stdin.readline().strip().lower()
    l=[]
    counter=0
    for i in range(n):
        if s[i]=='b':
            counter+=1
        else:
            if counter:
                l.append(counter)
                counter=0
    if counter:
        l.append(counter)
    if len(l):
        stdout.write(str(len(l))+'\n')
        for i in l:
            stdout.write(str(i)+' ')
    else:
        stdout.write('0')
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    n,k=map(int,stdin.readline().split())
    p=[]
    for _ in range(n):
        p.append(stdin.readline().strip())
    p.sort(key=len)
    P=stdin.readline().strip()
    j=0
    count=0
    for i in p:
        j+=1
        if len(i)==len(P):
            count+=1
            minim=count
            break
        else:
            count+=1
            if j%k==0:
                count+=5
    count=0
    j=0
    for i in p:
        j+=1
        if len(i)>len(P):
            if (j-1)%k==0:
                count-=5
            maxim=count
            break
        else:
            if i==p[-1]:
                maxim=count+1
                break
            else:
                count+=1
                #print(count,end=', ')
                if j%k==0:
                    count+=5
                #print(count)
    stdout.write(str(minim)+' '+str(maxim))
if __name__=='__main__':
    main()
'''
#375
#1
'''
def main():
    from sys import stdin,stdout
    x,y,z=map(int,stdin.readline().split())
    minim=min(x,y,z)
    maxim=max(x,y,z)
    minimum=-1
    for i in range(minim,maxim+1):
        if minimum<0:
            minimum=abs(i-x)+abs(i-y)+abs(i-z)
        else:
            minimum=min(minimum,abs(i-x)+abs(i-y)+abs(i-z))
    stdout.write(str(minimum))
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    n=int(stdin.readline())
    s=stdin.readline()
    bra=[]
    line=set()
    w=''
    braketflag=False
    for i in s:
        if i=='_':
            if w!='':
                if not braketflag:
                    line.add(w)
                else:
                    bra.append(w)
            w=''
        elif i=='(':
            braketflag=True
            if w!='':
                line.add(w)
            w=''
        elif i==')':
            braketflag=False
            if w!='':
                bra.append(w)
            w=''
        elif i=='\n':
            if w!='':
                line.add(w)
        else:
            w+=i
    maxi=0
    for i in line:
        maxi=max(maxi,len(i))
    stdout.write(str(maxi)+' '+str(len(bra)))
if __name__=='__main__':
    main()
'''
'''
#3
def main():
    from sys import stdin,stdout
    n,m=map(int,stdin.readline().split())
    l=list(map(int,stdin.readline().split()))
    dic={}
    for j in range(1,m+1):
        dic[j]=0
    for i in l:
        if i in dic.keys():
            dic[i]+=1
        else:
            dic[i]=1
    eq=n//m
    c=0
    for j in range(1,m+1):
        if dic[j]<eq:
            break
    i=0
    while i<n:
        if l[i]>m:
            if dic[j]<eq:
                l[i]=j
                dic[j]+=1
                c+=1
                i+=1
            else:
                j+=1
                if j>m:
                    break
        else:
            i+=1
    flag=True
    for j in range(1,m+1):
        if dic[j]<eq:
            flag=False
            break
    if flag:
        stdout.write(str(eq)+' '+str(c)+'\n')
        for i in l:
            stdout.write(str(i)+' ')
    else:
        i=0
        while(i<n):
            if dic[l[i]]>eq:
                if j<=m and dic[j]<eq:
                    l[i]=j
                    dic[j]+=1
                    c+=1
                elif j<=m:
                    j+=1
                else:
                    break
            i+=1
        stdout.write(str(eq)+' '+str(c)+'\n')
        for i in l:
            stdout.write(str(i)+' ')
if __name__=='__main__':
    main()
'''
#377
#1
'''
def main():
    from sys import stdin,stdout
    k,r=map(int,stdin.readline().split())
    rem=k%10
    if rem:
        if rem==r:
            stdout.write('1')
        else:
            if rem ==5:
                a=2
            elif rem == 2:
                a=5
            else:
                a=11
            for i in range(1,10):
                if (rem*i) %10==r:
                    break
            stdout.write(str(min(a,i)))
    else:
        stdout.write('0')
if __name__=='__main__':
    main()
'''
#2
'''
def main():
    from sys import stdin,stdout
    n,k=map(int,stdin.readline().split())
    t=tuple(map(int,stdin.readline().split()))
    l=[]
    c=0
    l+=[t[0]]
    for i in range(1,n):
        s=l[i-1]+t[i]
        if s<k:
            c+=(k-s)
            l.append(t[i]+(k-s))
        else:
            l.append(t[i])
    stdout.write(str(c)+'\n')
    for i in l:
        stdout.write(str(i)+' ')
if __name__=='__main__':
    main()
'''
#1
'''
def main():
    from sys import stdin,stdout
    for _ in range(int(stdin.readline())):
        m1,m2,m3=map(int,stdin.readline().split())
        o1,o2,o3=map(int,stdin.readline().split())
        p1,p2,p3=map(int,stdin.readline().split())
        t=(sum((m1,m2,m3)),sum((o1,o2,o3)),sum((p1,p2,p3)),sum((m1,o1,p1)),sum((m2,o2,p2)),sum((m3,o3,p3)))
        s=max(filter(lambda x: x&1 ,t))
        stdout.write(str(s)+'\n')
if __name__=='__main__':
    main()
'''
#378
#1
def main():
    from sys import stdin,stdout
    s=stdin.readline().lower()
    maxjump=0
    j=1
    for i in s:
        if i=='a' or i=='e' or i=='i' or i=='o' or i=='u' or i=='y' or i=='\n':
            maxjump=max(maxjump,j)
            j=1
        else:
            j+=1
    stdout.write(str(maxjump))
if __name__=='__main__':
    main()

#2
'''
def main():
    from sys import stdin,stdout
    c=[]
    for _ in range(int(stdin.readline())):
        l,r=map(int,stdin.readline().split())
        c.append(l-r)
    flag=1
    for i in c:
        if i<0:
            flag=0
            break
    if flag==1:
        stdout.write('0')
    else:
        flag=2
        for i in c:
            if i>0:
                flag=0
                break
        if flag==2:
            stdout.write('0')
        else:
            index=None
            csum=sum(c)
            for i in range(len(c)):
                nsum=(csum-c[i])+c[i]*(-1)
                if abs(nsum) > csum:
                    index=i+1
            stdout.write(str(index))
if __name__=='__main__':
    main()
'''