import sys

vowels=['a','e','i','o','u','A','E','I','O','U']
t=int(input())
while t >0:
	t-=1
	w=raw_input()
	o=[]
	for c in w:
		if c in vowels:
			o.append(c)
	
	if len(o)==0:
		print "No"
	else:
		print ''.join(o)