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