n = int(input())
s = input()
index = int(input())
print(s[index - 1:])

d864a5b55eef343f0f847238bff049424e07a976
<mask token>

<mask token>
print(s[index - 1:])

n = int(input())
s = input()
index = int(input())
print(s[index - 1:])
