#include #include #include int main() { //std::ifstream inf("Text.txt"); std::cin.rdbuf(inf.rdbuf()); std::string str; std::cin >> str; for (unsigned int i = 0; i < str.length(); i++) { switch (str[i]) { case 'I':str[i] = '1'; break; case 'l':str[i] = '1'; break; case 'O':str[i] = '0'; break; case 'o':str[i] = '0'; break; default: break; } } std::cout << str << std::endl; return 0; }