#include using namespace std; using int64 = long long; int main() { string S; cin >> S; for(auto &c : S) { if(c == 'I' || c == 'l') cout << 1; else if(c == 'O' || c == 'o') cout << 0; else cout << c; } cout << endl; }