#include #include #include #define REP(i, a, b) for (int i = int(a); i < int(b); i++) #define dump(s) cerr << __LINE__ << "\t:" << #s << " = " << (s) << endl using namespace std; int main () { string s; int a, b; cin >> s >> a >> b; REP (i, 0, s.size()) { if (i != a && i != b) cout << s[i]; } cout << endl; return 0; }