#include using namespace std; typedef unsigned long long ul; typedef signed long long ll; ul over = 1000000007; mt19937 mt(time(nullptr)); // uniform_int_distribution< int > rand_int(0, 10) // rand[0, 10] inclusive int main(void) { cin.tie(0); ios::sync_with_stdio(false); cout << fixed; string s; int i, j; cin >> s >> i >> j; swap(s[i], s[j]); cout << s << endl; return 0; }