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