#include #include #include int main() { std::string i; int a, b; char c; scanf("%s", &i); scanf("%d", &a); scanf("%d", &b); c = i[a]; i[a] = i[b]; i[b] = c; std::cout << i; return 0; }