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:
'''
# Read input from stdin and provide input before running code

name = raw_input('What is your name?\n')
print 'Hi, %s.' % name
'''
def prime(val):
	if val !=2:
		if(val % 2 == 0):
			return 0
		else:
			valBy = val/2
			for divider in range(3,valBy+1,2):
				if val % divider == 0:
					return 0
			return 1
	else:
		return 1

def reduce_string(string):
	new_string=''
	for char in string:
		if prime(ord(char)) == 0:
			new_string+=char
	return new_string

count = int(raw_input())
for val in range(0,count):
	string = raw_input()
	final_string =  reduce_string(string)
	if final_string == '':
		print "NULL"
	else:
		print final_string