#include <bits/stdc++.h> using namespace std; using i64 = long long; #define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++) string s; int main(){ cin >> s; for(char c : s){ if(c == 'I' || c == 'l') cout << 1; else if(c == 'O' || c == 'o') cout << 0; else cout << c; } cout << endl; }