#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cmath>
using namespace std;
using ll = long long;

int main() {
    string s;
    cin >> s;

    for (auto& c : s) {
        if (c == 'I' || c == 'l') c = '1';
        if (c == 'O' || c == 'o') c = '0';
    }

    cout << s << endl;

    return 0;
}