INFOMANIA 2023 round 1, educational edition | John Miex

This was the problem page during the contest. Access the current page here.