#include using namespace std; int main(){ string s; int t,u; cin >> s >> t >> u; s[t] = s[u] = 0; for(auto c : s) if(c != 0) cout << c; }