#P12527. [XJTUPC 2025] 全都登不上

[XJTUPC 2025] 全都登不上

Description

Senior J is a renowned cryptography master in the Kingdom of Trees.

The annual programming competition in the Kingdom of Trees is about to begin, and Prime Minister S has entrusted Senior J with the important task of maintaining the competition system. Senior J generated accounts and passwords for nn participating teams using uuid4().hex\tt{uuid4().hex} to create hexadecimal strings as passwords (containing only the digits 09\tt{0-9} and af\tt{a-f}), but he felt that the strength of the passwords generated this way was somewhat insufficient. Therefore, he switched to randomly generating byte sequences and using base64\tt{base64} encoding to create more complex, high-strength passwords (containing lowercase letters, uppercase letters, numbers, underscores _\tt{\_}, and hyphens \tt{-}).

However, during the warm-up match, many contestants frequently entered incorrect passwords due to difficulty distinguishing the characters 1\tt{1}, i\tt{i}, I\tt{I}, and l\tt{l}, making it impossible for them to log into the system smoothly. Prime Minister S was very angry about this and demanded that Senior J immediately rectify the passwords for the official competition by removing all easily confused characters. Senior J now wants to know how to modify the passwords for the official competition.

Specifically, given the original password for each team during the official competition login, you need to remove all occurrences of 1\tt{1} (the digit 1), i\tt{i} (the lowercase letter i), I\tt{I} (the uppercase letter i), and l\tt{l} (the lowercase letter L) from the original password and output the modified password.

Input Format

The first line of input contains a positive integer nn (1n5×1041 \leq n \leq 5 \times 10^4), indicating that there are nn teams participating in the competition.

The next nn lines each contain a non-empty string sis_i (the length of the string si|s_i| satisfies 1si5×1041 \leq |s_i| \leq 5 \times 10^4; input characters consist only of lowercase letters, uppercase letters, numbers, underscores _\tt{\_}, and hyphens \tt{-}), representing the original password for each participating team's login to the system.

It is guaranteed that the sum of the lengths of the original passwords for the nn teams does not exceed 5×1045 \times 10^4.

Output Format

Output a total of nn lines, where the ii-th line represents the password of the ii-th team after removing 1iIl\tt{1iIl}. If the password is empty, output empty string\textbf{empty string}.

5
mCj_m3sYshA
1liil1ili
Itboe1Vcig4
lsj5lFx1Nrs
-j1ioFlIiI4
mCj_m3sYshA

tboeVcg4
sj5FxNrs
-joF4
6
Ave_mujica
Doloris
Mortis
Timoris
Amoris
Oblivionis
Ave_mujca
Doors
Morts
Tmors
Amors
Obvons