execute as @s if entity @e[name=c,scores={page0=1}] run event entity @e[type=float:book] float:add_page_0
execute as @s if entity @e[name=c,scores={page1=1}] run event entity @e[type=float:book] float:add_page_1
execute as @s if entity @e[name=c,scores={page2=1}] run event entity @e[type=float:book] float:add_page_2
execute as @s if entity @e[name=c,scores={page3=1}] run event entity @e[type=float:book] float:add_page_3
execute as @s if entity @e[name=c,scores={page4=1}] run event entity @e[type=float:book] float:add_page_4
execute as @s if entity @e[name=c,scores={page5=1}] run event entity @e[type=float:book] float:add_page_5
execute as @s if entity @e[name=c,scores={page6=1}] run event entity @e[type=float:book] float:add_page_6
execute as @s if entity @e[name=c,scores={page7=1}] run event entity @e[type=float:book] float:add_page_7
execute as @s if entity @e[name=c,scores={page8=1}] run event entity @e[type=float:book] float:add_page_8
execute as @s if entity @e[name=c,scores={page9=1}] run event entity @e[type=float:book] float:add_page_9
execute as @s if entity @e[name=c,scores={page10=1}] run event entity @e[type=float:book] float:add_page_10
execute as @s if entity @e[name=c,scores={page11=1}] run event entity @e[type=float:book] float:add_page_11
execute as @s if entity @e[name=c,scores={page12=1}] run event entity @e[type=float:book] float:add_page_12
execute as @s if entity @e[name=c,scores={page13=1}] run event entity @e[type=float:book] float:add_page_13
execute as @s if entity @e[name=c,scores={page14=1}] run event entity @e[type=float:book] float:add_page_14
execute as @s if entity @e[name=c,scores={page15=1}] run event entity @e[type=float:book] float:add_page_15
execute as @s if entity @e[name=c,scores={page16=1}] run event entity @e[type=float:book] float:add_page_16
execute as @s if entity @e[name=c,scores={page17=1}] run event entity @e[type=float:book] float:add_page_17
execute as @s if entity @e[name=c,scores={page18=1}] run event entity @e[type=float:book] float:add_page_18
execute as @s if entity @e[name=c,scores={page19=1}] run event entity @e[type=float:book] float:add_page_19
execute as @s if entity @e[name=c,scores={page20=1}] run event entity @e[type=float:book] float:add_page_20
execute as @s if entity @e[name=c,scores={page21=1}] run event entity @e[type=float:book] float:add_page_21
execute as @s if entity @e[name=c,scores={page22=1}] run event entity @e[type=float:book] float:add_page_22
execute as @s if entity @e[name=c,scores={page23=1}] run event entity @e[type=float:book] float:add_page_23
execute as @s if entity @e[name=c,scores={page24=1}] run event entity @e[type=float:book] float:add_page_24
execute as @s if entity @e[name=c,scores={page25=1}] run event entity @e[type=float:book] float:add_page_25
execute as @s if entity @e[name=c,scores={page26=1}] run event entity @e[type=float:book] float:add_page_26
execute as @s if entity @e[name=c,scores={page27=1}] run event entity @e[type=float:book] float:add_page_27
execute as @s if entity @e[name=c,scores={page28=1}] run event entity @e[type=float:book] float:add_page_28
execute as @s if entity @e[name=c,scores={page29=1}] run event entity @e[type=float:book] float:add_page_29
execute as @s if entity @e[name=c,scores={page30=1}] run event entity @e[type=float:book] float:add_page_30
execute as @s if entity @e[name=c,scores={page31=1}] run event entity @e[type=float:book] float:add_page_31