karan's submission of Choosing from Buckets | CodeChef