Rohan Garg's submission of BALANCE | CodeChef