MoreSteam interview question

It was a simulation challenge.