Input (grade 5): Kelly spent ten days in custody before the charges were dismissed.
Output (grade 3): He spent ten days in the police station lockup.