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