from sys import stdin
a = 'aeiouAEIOU'
t = int(stdin.readline())
for _ in xrange(t):
	b = stdin.readline().strip()
	ans = ''
	for i in b:
		if i in a:
			ans+=i
	if len(ans)==0:
		ans = 'No'
	print ans