N,K = map(int,input().split())
dic = {"A":"a","B":"b","C":"c"}
S = list(input())
S[K-1]=dic[S[K-1]]
print("".join(S)) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K dic = {"A":"a","B":"b","C":"c"} dic {"A":"a","B":"b","C":"c"} "A" "A" "a" "B" "B" "b" "C" "C" "c" S = list(input()) S list(input()) list input() input S[K-1]=dic[S[K-1]] S[K-1] S K-1 K 1 dic[S[K-1]] dic S[K-1] S K-1 K 1 print("".join(S)) print "".join(S) "".join "" join S K = map(int,input().split()) map(int,input().split()) K S = list(input()) list(input()) S dic = {"A":"a","B":"b","C":"c"} {"A":"a","B":"b","C":"c"} dic N,K = map(int,input().split()) map(int,input().split()) N
N,K = map(int,input().split())
dic = {"A":"a","B":"b","C":"c"}
S = list(input())
S[K-1]=dic[S[K-1]]
print("".join(S))