#abc236a. [abc236_a]chukodai
[abc236_a]chukodai
Problem Statement
You are given a string consisting of lowercase English letters.
Swap the -th and -th characters from the beginning of and print the resulting string.
Constraints
- is a string consisting of lowercase English letters.
- The length of , , satisfies .
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
chokudai
3 5
Sample Output 1
chukodai
After swapping the -rd character o
and -th character u
of chokudai
, we have chukodai
.
Sample Input 2
aa
1 2
Sample Output 2
aa
In this sample, after swapping the -st and -nd characters of , we have the same string as .
Sample Input 3
aaaabbbb
1 8
Sample Output 3
baaabbba