Simulation - IIOT 2023-24 Round II | The Jeweller's Game

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