AtCoder Beginner Contest 126
A
Changing a Character
AtCoder
未评级
原题
←B →
翻译中…

Problem Statement

翻译中…

You are given a string $S$ of length $N$ consisting of A, B and C, and an integer $K$ which is between $1$ and $N$ (inclusive). Print the string $S$ after lowercasing the $K$-th character in it.

翻译中…

Constraints

翻译中…
  • $1 ≤ N ≤ 50$
  • $1 ≤ K ≤ N$
  • $S$ is a string of length $N$ consisting of A, B and C.
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N K
S

翻译中…

Output

翻译中…

Print the string $S$ after lowercasing the $K$-th character in it.

翻译中…

样例

Input #1
3 1
ABC
Output #1
aBC
Input #2
4 3
CABA
Output #2
CAbA
题目信息
题号
abc126_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。