#include using namespace std; using Int=long long; using Real=long double; templateinline bool chmin(T&A,S B){if(A>B){A=B;return true;}else{return false;}} templateinline bool chmax(T&A,S B){if(A>S; REP(i,size(S)) { if(S[i]=='I'||S[i]=='l')S[i]='1'; if(S[i]=='O'||S[i]=='o')S[i]='0'; } cout<>T; while(T--)sol(); }