Sponsored
Use these hints if you're stuck. Try solving on your own first.
Can you find the primitive decomposition? The number of ( and ) characters must be equal.
Solve with full IDE support and test cases