Rishav Goyal's submission of Jewels and Stones | CodeChef