jay patel's submission of Choosing from Buckets | CodeChef