Zhang Yide's submission of Choosing from Buckets | CodeChef