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