#include using namespace std; int main() { string s; cin >> s; s = regex_replace(s, regex("I|l"), "1"); s = regex_replace(s, regex("O|o"), "0"); cout << s << endl; return 0; }