t = input()
i = 1

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

while i <= t:
	x = []
	s = raw_input()
	for al in s:
		if al in v:
			x.append(al)
	if x:
		print ''.join(x)
	else:
		print "No"
	i = i+1