#include #include using namespace std; int main(){ string S;int i,j;char c; cin>>S>>i>>j; c=S[i];S[i]=S[j];S[j]=c; cout<