#define _GLIBCXX_DEBUG #include using namespace std; int main() { string S; cin >> S; string ans = ""; for(int i = 0; i < (int)S.size(); i++){ if(S[i] != 'I' and S[i] != 'l' and S[i] != 'O' and S[i] != 'o'){ ans += S[i]; }else if(S[i] == 'I' or S[i] == 'l') ans += "1"; else ans += "0"; } cout << ans << endl; }