Input (grade 10): Originally a gatehouse was a fortified structure built over the gateway to a city or castle.
Output (grade 6): A gatehouse was a strong building built over the gateway to a city or castle.