Remove all characters from an alphanumeric string.
The first line of the input contains T denoting the number of testcases. First line of each test case will be an alphanumeric string.
For each test case output will be a numeric string after removing all the characters.
1 <= T <= 30
1 <= size of string <= 100
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.