Sponsored
Use these hints if you're stuck. Try solving on your own first.
For each stone, check if it is a jewel.
Solve with full IDE support and test cases