Fireworks salesman (difficult to understand)

 

v20240901