code_eater47's submission of Jewels and Stones | CodeChef