Input (grade 11): The wife's adultery was formerly punished with death, and the capital penalty was also inflicted on young men and girls guilty of unchastity.
Output (grade 11): The wife's adultery was formerly punished with death, and the capital penalty was also inflicted on young men and girls guilty of adultery.