#include using namespace std; int main() { string s; cin >> s; for (int i = 0; i < s.size(); i++) { if (s[i] == 'I' || s[i] == 'i') cout << "1"; else if (s[i] == 'O' || s[i] == 'o') cout << "0"; else cout << s[i]; } cout << endl; return 0; }