cases  = [int(i) for i in input().split() if i.isdigit()]
w = input()
print(w[0:cases[1]-1] + w[cases[1]-1].lower() + w[cases[1]:]) int(i) for i in input().split() if i.isdigit() for i in input().split() if i.isdigit() i input().split() ().split () input split i.isdigit() i.isdigit i isdigit if i.isdigit() int(i) int i cases  = [int(i) for i in input().split() if i.isdigit()] cases [int(i) for i in input().split() if i.isdigit()] w = input() w input() input print(w[0:cases[1]-1] + w[cases[1]-1].lower() + w[cases[1]:]) print w[0:cases[1]-1] + w[cases[1]-1].lower() + w[cases[1]:] w[0:cases[1]-1] + w[cases[1]-1].lower() w[0:cases[1]-1] w 0:cases[1]-1 0 cases[1]-1 cases[1] cases 1 1 w[cases[1]-1].lower() [cases[1]-1].lower [cases[1]-1] w cases[1]-1 cases[1] cases 1 1 lower w[cases[1]:] w cases[1]: cases[1] cases 1 cases  = [int(i) for i in input().split() if i.isdigit()] [int(i) for i in input().split() if i.isdigit()] cases w = input() input() w
cases  = [int(i) for i in input().split() if i.isdigit()]
w = input()
print(w[0:cases[1]-1] + w[cases[1]-1].lower() + w[cases[1]:])