#include int main(void) { int a,b; char c[11]; char d; scanf("%s", c); scanf("%d %d", &a, &b); d = c[a]; c[a] = c[b]; c[b] = d; printf("%s", c); }