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