n,k=[int(s) for s in input().split()]
s=input()
# s[k-1]=s[k-1].lower()
print(s[:k-1]+s[k-1].lower()+s[k:]) int(s) for s in input().split() for s in input().split() s input().split() ().split () input split for s in input().split() int(s) int s n,k=[int(s) for s in input().split()] n [int(s) for s 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 n,k=[int(s) for s in input().split()] [int(s) for s in input().split()] n k=[int(s) for s in input().split()] [int(s) for s in input().split()] k s=input() input() s
n,k=[int(s) for s in input().split()]
s=input()
# s[k-1]=s[k-1].lower()
print(s[:k-1]+s[k-1].lower()+s[k:])