n = input()
for _ in range(n):
	vowels = ['a','e','i','o','u','A','E','I','O','U']	
	string = raw_input()
	op=''
	for i in string:
		if i in vowels:
			op+=i
	if(op==''):
		print "No"
	else:
		print op