def isVowel(x):
	return (x=='a' or x=='A' or x=='e' or x== 'E' or x=='i' or x=='I' or x=='o' or x=='O' or x=='u' or x=='U')
t=int(raw_input())
while t>0:
	res=''
	for x in raw_input():
		if isVowel(x):
			res+=x
	if len(res)>0:
		print res
	else:
		print 'No'
	t-=1