Not every path leads to treasure.
Try analyzing the program instead of just running it.
The real logic might be different from what is shown during execution.
Login to submit a flag.