#include using namespace std; int main(void) { int i, j; char tmp; char word[20]; scanf("%s", word); scanf("%d", &i); scanf("%d", &j); tmp = word[j]; word[j] = word[i]; word[i] = tmp; printf("%s", word); }