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:
from sys import stdin
from math import sqrt
def is_prime(a):
    x = True
    s=int(sqrt(a))
    for i in range(2, s+1):
       if a%i == 0:
           x = False
           return x
           break
    return x
l=int(stdin.readline())
for i in range(0,l):
    a=stdin.readline()
    b=[ord(c) for c in a]
    if i!=l-1:
        b.pop()
    s=0
    po=False
    i=0
    while i<len(b):
        if is_prime(b[i]):
            b.remove(b[i])
            po=True
            s+=1
        i+=1
        if po:
            i-=1
            po=False
    if s==0:
        print 'NULL'
    else:
        print ''.join(chr(i) for i in b)