Of course I'll take the 10 leashes, even if the alternative would be just 1 year in prison. But that's not the real point of the OP...
The relevant point here is, in a civilized, modern society, the objective of the penal system isn't to punish neither to avenge. it's objective is to rehabilitate and, in the meantime, protect the citizens from dangerous criminals.
Physical punishment only accomplishes the objectives of a savage, outdated sense of "justice" (punishment and revenge), but is not at all a valid method to accomplish the objectives of a modern, civilized sense of justice (prevent and restore).
And this is why nowadays, people find the idea of physical punishment abhorrent.