atcoder#TENKA12019B. *e**** ********e* *e****e* ****e**
*e**** ********e* *e****e* ****e**
Score : points
Problem Statement
You are given a string of length consisting of lowercase English letters, and an integer .
Print the string obtained by replacing every character in that differs from the -th character of , with *
.
Constraints
- is a string of length consisting of lowercase English letters.
- and are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the string obtained by replacing every character in that differs from the -th character of , with *
.
5
error
2
*rr*r
The second character of is r
. When we replace every character in error
that differs from r
with *
, we get the string *rr*r
.
6
eleven
5
e*e*e*
9
education
7
******i**