x,y = [int(x) for x in input().split()]
z = input()
print(z[:y-1]+z[y-1].lower() + z[y:]) 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 x,y = [int(x) for x in input().split()] x [int(x) for x in input().split()] y z = input() z input() input print(z[:y-1]+z[y-1].lower() + z[y:]) print z[:y-1]+z[y-1].lower() + z[y:] z[:y-1]+z[y-1].lower() z[:y-1] z :y-1 y-1 y 1 z[y-1].lower() [y-1].lower [y-1] z y-1 y 1 lower z[y:] z y: y y = [int(x) for x in input().split()] [int(x) for x in input().split()] y x,y = [int(x) for x in input().split()] [int(x) for x in input().split()] x z = input() input() z
x,y = [int(x) for x in input().split()]
z = input()
print(z[:y-1]+z[y-1].lower() + z[y:])
