#include #include #define rep(i, ss, ee) for (int i = ss; i < ee; ++i) using namespace std; void solve() { string s; cin >> s; boost::algorithm::replace_all(s, "I", "1"); boost::algorithm::replace_all(s, "l", "1"); boost::algorithm::replace_all(s, "O", "0"); boost::algorithm::replace_all(s, "o", "0"); cout << s << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }