#include #include using namespace std; int main(){ int x,y; string s; cin >> s; cin >> x >> y; swap(s[x],s[y]); cout << s; return 0; }