N, K = map(int,input().split())
S = input()

capital = ['A','B','C']
small = ['a','b','c']

i = capital.index(S[K-1])
ans = S[:K-1]+small[i]+S[K:]
print(ans) N, K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K S = input() S input() input capital = ['A','B','C'] capital ['A','B','C'] 'A' 'B' 'C' small = ['a','b','c'] small ['a','b','c'] 'a' 'b' 'c' i = capital.index(S[K-1]) i capital.index(S[K-1]) capital.index capital index S[K-1] S K-1 K 1 ans = S[:K-1]+small[i]+S[K:] ans S[:K-1]+small[i]+S[K:] S[:K-1]+small[i] S[:K-1] S :K-1 K-1 K 1 small[i] small i S[K:] S K: K print(ans) print ans small = ['a','b','c'] ['a','b','c'] small N, K = map(int,input().split()) map(int,input().split()) N K = map(int,input().split()) map(int,input().split()) K S = input() input() S ans = S[:K-1]+small[i]+S[K:] S[:K-1]+small[i]+S[K:] ans i = capital.index(S[K-1]) capital.index(S[K-1]) i capital = ['A','B','C'] ['A','B','C'] capital
N, K = map(int,input().split())
S = input()

capital = ['A','B','C']
small = ['a','b','c']

i = capital.index(S[K-1])
ans = S[:K-1]+small[i]+S[K:]
print(ans)
