d = ['a','e','i','o','u','A','E','I','O','U']

for i in range(input()):
	word = raw_input()
	ans = ""
	flag = 0
	for i in word:
		if i in d:
			ans += i
			flag = 1
	if flag:
		print ans
	else:
		print "No"