#include<iostream>
using namespace std;
int main()
{
    string s;cin >> s;
    for(const char c: s){
        if(c == 'I' or c == 'l'){
            cout << 1;
        }else if(c == 'O' or c == 'o'){
            cout << 0;
        } else {
            cout << c;
        }
    }
    cout << endl;
    return 0;
}