Max's submission of Balancing Game | CodeChef