scoreboard players add @e[name=c] note_tag_tick 1

execute if entity @e[name=c,scores={note_tag_tick=45}] run tag @a remove reading_note
execute if entity @e[name=c,scores={note_tag_tick=45}] run scoreboard players set @e[name=c] reset_note_read_tag 0
execute if entity @e[name=c,scores={note_tag_tick=45}] run scoreboard players set @e[name=c] note_tag_tick 0