#32284: python 一行 但有時好像會遇到bug


yuxuan0912 (李毓萱Laura)


(lambda a,b,c:print((str(' '*a+b))[c:c+a]))(int(input()),input(),int(input()))