Mayank Khetan's submission of Jewels and Stones | CodeChef