x=input()
for i in range(0,x):
	y=list(raw_input())
	s=""
	for j in range(len(y)):
		if y[j]=='a' or y[j]=='e' or y[j]=='i' or y[j]=='o' or y[j]=='u' or y[j]=='A' or y[j]=='E' or y[j]=='I' or y[j]=='O' or y[j]=='U':
			s+=y[j]
	if s=="":
		print "No"
	else:
		print s