#define _GLIBCXX_DEBUG #include using namespace std; int main() { string S; cin >> S; int I, J; cin >> I >> J; swap(S[I], S[J]); cout << S << endl; }