#include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main() { string S; cin >> S; int i, j; cin >> i >> j; assert(i != j); char tmp = S[i]; S[i] = S[j]; S[j] = tmp; cout << S << endl; return 0; }