N, K = [int(_) for _ in input().split()]
S = list(input())

S[K-1] = S[K-1].lower()
print("".join(S)) int(_) for _ in input().split() for _ in input().split() _ input().split() ().split () input split for _ in input().split() int(_) int _ N, K = [int(_) for _ in input().split()] N [int(_) for _ in input().split()] K S = list(input()) S list(input()) list input() input S[K-1] = S[K-1].lower() S[K-1] S K-1 K 1 S[K-1].lower() [K-1].lower [K-1] S K-1 K 1 lower print("".join(S)) print "".join(S) "".join "" join S S = list(input()) list(input()) S N, K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] N K = [int(_) for _ in input().split()] [int(_) for _ in input().split()] K
N, K = [int(_) for _ in input().split()]
S = list(input())

S[K-1] = S[K-1].lower()
print("".join(S))
