n,k = (int(a) for a in input().split())
s = input()
x =list(s)
x[k-1] = x[k-1].lower()
print(''.join(x)) int(a) for a in input().split() for a in input().split() a input().split() ().split () input split for a in input().split() int(a) int a n,k = (int(a) for a in input().split()) n (int(a) for a in input().split()) k s = input() s input() input x =list(s) x list(s) list s x[k-1] = x[k-1].lower() x[k-1] x k-1 k 1 x[k-1].lower() [k-1].lower [k-1] x k-1 k 1 lower print(''.join(x)) print ''.join(x) ''.join '' join x x =list(s) list(s) x k = (int(a) for a in input().split()) (int(a) for a in input().split()) k s = input() input() s n,k = (int(a) for a in input().split()) (int(a) for a in input().split()) n
n,k = (int(a) for a in input().split())
s = input()
x =list(s)
x[k-1] = x[k-1].lower()
print(''.join(x))
