Problem: Dark completed with studying Strings last night and trying to solve the problem of primes numbers from last three months but did not succeed every time he preferred to ask your help and same goes this time.

He likes to play a game with PRIMES AND STRINGS and he named the game as "PRIME ASCII CHARACTERS".

The rules are  as simple as finding the primes.

He wants you to read a string and delete all the characters whose ASCII VALUES is found to be a prime number.

Input:

The first line contains T, the number of test cases.
Followed by T lines each contains a single string 'S'.

Output:

For every test case print the string by removing the PRIME ASCII CHARACTERS.

print "NULL" If all the characters of a string are prime ascii characters.

Constraints:

1 ≤ T ≤ 10000
1 ≤ |S| ≤ 100000

Author : Darshak Mehta

Note: String contains only Alphabets both UPPER & LOWER CASES.

SAMPLE INPUT
4
MEHTA
Mehta
HELLO
hello

SAMPLE OUTPUT
MEHTA
Mht
HELL
hllo

Solution (in PYTHON):

Solution:
#def generate_prime():
#
#	isPrime = [0] * 57
#	'''
#	122 - 65 = 57
#	'''
#	for i in range(65,123):
#		if is_prime(i):
#			isPrime[i - 65] = 1
#
#	return isPrime

def sqrt(n):
# '''
# Efficient sqrt algorithm
# '''	
	x = n
	y = (x + (n // x)) // 2

	while y < x:
		x = y
		y = ( x + (n // x)) // 2

	return x 



def is_prime(number):

	if number & 1 == 0:
		return False

	sq = sqrt(number)

	for x in range(2, (sq + 1)):
		if number % x == 0:
			return False

	return True

def remove_prime_ascii(string_input):

	lista = []
	for i in string_input:
		if not is_prime(ord(i)):
			lista.append(i)

	if len(lista):
		result = "".join(lista)
		print (result)
	else:
		print ("NULL")


t=input()
for i in range(0,t,1):
	s=raw_input()
	remove_prime_ascii(s)