2857: ABC126A - Changing a Character
จำกัดหน่วยความจำ:128 MB
จำกัดเวลา:1.000 S
Judge Style:Text Compare
Creator:
ส่ง:0
แก้ได้:0
คำอธิบาย
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.ตัวอย่างข้อมูลนำเข้า Copy
3 1
ABC
ตัวอย่างข้อมูลส่งออก Copy
aBC