N , K = [int(n) for n in input().split()]
S = input()
print(S[:K-1]+S[K-1].lower()+S[K:]) int(n) for n in input().split() for n in input().split() n input().split() ().split () input split for n in input().split() int(n) int n N , K = [int(n) for n in input().split()] N [int(n) for n in input().split()] K S = input() S input() input print(S[:K-1]+S[K-1].lower()+S[K:]) print S[:K-1]+S[K-1].lower()+S[K:] S[:K-1]+S[K-1].lower() S[:K-1] S :K-1 K-1 K 1 S[K-1].lower() [K-1].lower [K-1] S K-1 K 1 lower S[K:] S K: K S = input() input() S K = [int(n) for n in input().split()] [int(n) for n in input().split()] K N , K = [int(n) for n in input().split()] [int(n) for n in input().split()] N
N , K = [int(n) for n in input().split()]
S = input()
print(S[:K-1]+S[K-1].lower()+S[K:])