vowels = ('a','e','i','o','u','A','E','I','O','U')
for x in range(input()):
    curr = raw_input()    
    output =  ''.join([l for l in curr if l in vowels])
    if len(output)>0:
        print output
    else:
        print "No"