baz - actually, neither.
You are looking at this from the perspective of someone with a mind of his own who thinks ahead and understands that actions have consequences, and can learn from a simple mistake, and not repeat it.
People like these two individuals simply react to what happens to them, they don't think ahead, they probably don't think at all.
It would be great to think that either the violence they received, or the incarceration would turn them away from crime, but it is highly unlikely.
If they had the level of intelligence to understand and learn from their esxperiences, they wouldn't have committed the crime in the first place.