#include int main(void){ int i,j; char S[10]; scanf("%s",S); scanf("%d%d",&i,&j); char s; s=S[i]; S[i]=S[j]; S[j]=s; printf("%s\n",S); return 0; }