That pesky Constitution of the United States of America and it's doggone Eighth Amendment against cruel and unusual punishment says otherwise. Then there's that Equal Protection Clause under the Fourteenth Amendment. 

So now we know how much YOU know about the law.