7344: ABC236 —— A - chukodai
[Creator : ]
Description
You are given a string S consisting of lowercase English letters.
Swap the a-th and b-th characters from the beginning of S and print the resulting string.
Swap the a-th and b-th characters from the beginning of S and print the resulting string.
Input
Input is given from Standard Input in the following format:
$S$
$a\ b$
$S$
$a\ b$
Output
Print the answer.
Constraints
S is a string consisting of lowercase English letters.
The length of S, |S|, satisfies 2≤∣S∣≤10.
$1 \leq a < b \leq |S|$
a and b are integers.
The length of S, |S|, satisfies 2≤∣S∣≤10.
$1 \leq a < b \leq |S|$
a and b are integers.
Sample 1 Input
chokudai
3 5
Sample 1 Output
chukodai
After swapping the 3-rd character o and 5-th character u of chokudai, we have chukodai.
Sample 2 Input
aa
1 2
Sample 2 Output
aa
In this sample, after swapping the 1-st and 2-nd characters of S, we have the same string as S.
Sample 3 Input
aaaabbbb
1 8
Sample 3 Output
baaabbba