m=['a','e','i','o','u','A','E','I','O','U']
t=input()
for i in range(0,t):
    ans=""
    s=raw_input()
    for c in s:
        if(c in m):
            ans=ans+c
    if(len(ans)==0):
        print 'No'
    else:
        print ans