#include using namespace std; signed main(){ string s; cin >> s; int x, y; cin >> x >> y; for( int i = 0; i < s.size(); ++i ) if( not ( i == x or i == y ) ) cout << s[ i ]; cout << endl; return 0; }