题目描述
Problem Statement
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.
Input
Input is given from Standard Input in the following format:
S
a b
Output
Print the answer.
Constraints
- S is a string consisting of lowercase English letters.
- The length of $S, |S|, satisfies 2 \leq |S| \leq 10$.
- $1 \leq a < b \leq |S|$
- a and b are integers.
Sample Input 1
chokudai
3 5
Sample Output 1
chukodai
After swapping the 3-rd character o and 5-th character u of chokudai, we have chukodai.
Sample Input 2
aa
1 2
Sample Output 2
aa
In this sample, after swapping the 1-st and 2-nd characters of S, we have the same string as S.
Sample Input 3
aaaabbbb
1 8
Sample Output 3
baaabbba
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
chokudai
3 5
样例输出
chukodai