const lines = require('fs') .readFileSync('/dev/stdin', 'utf-8') .trim().split('\n').values(); const words = lines.next().value.split(' ').values(); const S = words.next().value; const t = Number(words.next().value); const u = Number(words.next().value); const ans = [...S]; ans[t] = ''; ans[u] = ''; console.log(ans.join(''));