#include<bits/stdc++.h>
typedef long long ll;
using namespace std;
int INF = 1LL << 30;
int MOD = 1e9+7;
main(){
    string S;
    cin >> S;
    for(char &c:S){
        if(c == 'I' || c == 'l')c = '1';
        if(c == 'O' || c == 'o')c = '0';
    }
    cout << S << endl;
}