#include using namespace std; void replaceIfAll(string &s, char c1, char c2, char c3) { std::replace_if( s.begin(), s.end(), [&c1, &c2, &c3](auto x) { return x == c1 or x == c2; }, c3); } void solve() { string s; cin >> s; replaceIfAll(s, 'I', 'l', '1'); replaceIfAll(s, 'O', 'o', '0'); cout << s << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); getchar(); }