n, k = [int(v) for v in input().split()]
s = list(input())
print('{}{}{}'.format(''.join(s[:k-1]), s[k-1].lower(), ''.join(s[k:]))) int(v) for v in input().split() for v in input().split() v input().split() ().split () input split for v in input().split() int(v) int v n, k = [int(v) for v in input().split()] n [int(v) for v in input().split()] k s = list(input()) s list(input()) list input() input print('{}{}{}'.format(''.join(s[:k-1]), s[k-1].lower(), ''.join(s[k:]))) print '{}{}{}'.format(''.join(s[:k-1]), s[k-1].lower(), ''.join(s[k:])) '{}{}{}'.format '{}{}{}' format ''.join(s[:k-1]) ''.join '' join 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 ''.join(s[k:]) ''.join '' join s[k:] s k: k n, k = [int(v) for v in input().split()] [int(v) for v in input().split()] n s = list(input()) list(input()) s k = [int(v) for v in input().split()] [int(v) for v in input().split()] k
n, k = [int(v) for v in input().split()]
s = list(input())
print('{}{}{}'.format(''.join(s[:k-1]), s[k-1].lower(), ''.join(s[k:])))
