_, k = [int(i) - 1 for i in input().split()]
s = input()
print(s[:k] + s[k].lower() + s[k + 1:]) int(i) - 1 for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) - 1 int(i) int i 1 _, k = [int(i) - 1 for i in input().split()] _ [int(i) - 1 for i in input().split()] k s = input() s input() input print(s[:k] + s[k].lower() + s[k + 1:]) print s[:k] + s[k].lower() + s[k + 1:] s[:k] + s[k].lower() s[:k] s :k k s[k].lower() [k].lower [k] s k lower s[k + 1:] s k + 1: k + 1 k 1 k = [int(i) - 1 for i in input().split()] [int(i) - 1 for i in input().split()] k _, k = [int(i) - 1 for i in input().split()] [int(i) - 1 for i in input().split()] _ s = input() input() s
_, k = [int(i) - 1 for i in input().split()]
s = input()
print(s[:k] + s[k].lower() + s[k + 1:])
