t = int(raw_input())
while t:
    t-=1
    string = raw_input()
    result = "";
    for i in string:
        if i in 'aeiou' or i in 'AEIOU':
            result+=i;
        else:
            pass
    if len(result) > 0:
        print result
    else:
        print 'No'