anushka tayal's submission of Bags and Balls | CodeChef