#include using namespace std; using Int = long long; //INSERT ABOVE HERE signed main(){ string s; cin>>s; for(char &c:s){ if(c=='I') c='1'; if(c=='l') c='1'; if(c=='O') c='0'; if(c=='o') c='0'; } cout<