The Tower of Hanoi puzzle was very popular in the nineteenth century, but it has its fans in the modern world as well. The classic game has eight disks that need to be transferred in a pyramid shape to one of the two free rods. In this game, the creators decided to improvise and the game will start with only three discs, and then their number will gradually increase. To make the task harder, you are given a limited number of moves in which to solve the Tower of Hanoi puzzle.