tag @s add BooksKyu
execute at @e[name=BooksKyu,limit=1] run tag @s remove BooksKyu
execute at @s[tag=BooksKyu] positioned ~ 40 ~ run execute at @e[sort=random,limit=1,distance=..95,type=chest_minecart] positioned ~ 40 ~ run summon armor_stand ~ 40 ~ {CustomName:"\"BooksKyu\"",CustomNameVisible:0,NoGravity:1b,Invisible:1}
execute as @s[tag=BooksKyu] run execute at @e[name=KyuAreaBlocks] run data merge block ~3 ~ ~ {auto:1b}