//https://ncode.syosetu.com/n4830bu/292/ #include using namespace std; int main() { string S; int t, u; cin >> S >> t >> u; for (int i = 0; i < S.size(); i++) { if (i != t && i != u) cout << S[i]; } cout << endl; }