Prateek Gupta's submission of BALANCE | CodeChef