#include using namespace std; int main() { string s; cin >> s; int t, u; cin >> t >> u; for (int i = 0; i < s.size(); ++i) { if (i == t || i == u) continue; cout << s[i]; } cout << endl; }