Simulation - IIOT 2023-24 Round IV | Stefan mastering chess

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