#include <bits/stdc++.h>
using namespace std;
#define gay cin
#define succac s.length()
int main() {
string s;
int i,j;
gay>>s;
gay>>i>>j;
int n= succac;
s = " " + s;
string result ="";
for(int x = 1; x<=n;x++)
if(x<i || x>j)
result += s[x];
cout<<result;
return 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgZ2F5IGNpbgojZGVmaW5lIHN1Y2NhYyBzLmxlbmd0aCgpCmludCBtYWluKCkgewoJc3RyaW5nIHM7CglpbnQgaSxqOwoJZ2F5Pj5zOwoJZ2F5Pj5pPj5qOwoJaW50IG49IHN1Y2NhYzsKCXMgPSAiICIgKyBzOwoJc3RyaW5nIHJlc3VsdCA9IiI7Cglmb3IoaW50IHggPSAxOyB4PD1uO3grKykKCWlmKHg8aSB8fCB4PmopCglyZXN1bHQgKz0gc1t4XTsKCWNvdXQ8PHJlc3VsdDsKCXJldHVybiAwOwp9