//#include #include #include using namespace std; //using namespace atcoder; using ll = long long; #define all(A) A.begin(),A.end() using vll = vector; #define rep(i, n) for (long long i = 0; i < (long long)(n); i++) using Graph = vector>; int main() { string S; cin>>S; rep(i,S.size()){ if(S[i]=='I'||S[i]=='l'){ cout<<1; } else if(S[i]=='O'||S[i]=='o'){ cout<<0; } else cout<