N,K = (int(x) for x in input().split())
S = list(input())
S[K-1] = S[K-1].swapcase()
print(''.join(S)) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x N,K = (int(x) for x in input().split()) N (int(x) for x in input().split()) K S = list(input()) S list(input()) list input() input S[K-1] = S[K-1].swapcase() S[K-1] S K-1 K 1 S[K-1].swapcase() [K-1].swapcase [K-1] S K-1 K 1 swapcase print(''.join(S)) print ''.join(S) ''.join '' join S K = (int(x) for x in input().split()) (int(x) for x in input().split()) K N,K = (int(x) for x in input().split()) (int(x) for x in input().split()) N S = list(input()) list(input()) S
N,K = (int(x) for x in input().split())
S = list(input())
S[K-1] = S[K-1].swapcase()
print(''.join(S))