coun ‧ ter ‧ pro ‧ duc ‧ tive /ˌkaʊntəprəˈdʌktɪv◂ $ -tər-/ BrE AmE adjective
[ Word Family: noun : ↑ produce , ↑ producer , ↑ product , ↑ production , ↑ reproduction , ↑ productivity ; adjective : ↑ productive ≠ ↑ unproductive , ↑ counterproductive , ↑ reproductive , ↑ reproducible ; verb : ↑ produce , ↑ reproduce ; adverb : ↑ productively ]
achieving the opposite result to the one that you want:
Sending young offenders to prison can be counterproductive.