#include using namespace std; 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; }