char s[99];main(a,b){scanf("%s%d%d",s,&a,&b);s[a]^=s[b]^=s[a]^=s[b];puts(s);}