Sponsored
Use these hints if you're stuck. Try solving on your own first.
Iterate on each item, and check if each one matches the rule according to the statement.
Solve with full IDE support and test cases