Rishabh Singhal's submission of BALANCE | CodeChef