Zhang Yide's submission of Jewels and Stones | CodeChef