_, K = [int(i) for i in input().split()]
S = input()
print(S[:K - 1] + S[K - 1].lower() + S[K:]) int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i _, K = [int(i) for i in input().split()] _ [int(i) for i 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(i) for i in input().split()] [int(i) for i in input().split()] _ K = [int(i) for i in input().split()] [int(i) for i in input().split()] K
_, K = [int(i) for i in input().split()]
S = input()
print(S[:K - 1] + S[K - 1].lower() + S[K:])
