sentence1: Four monasteries developed as a source of protection still remain, and each has a church, monks' quarters and a sturdy high wall.
sentence2: Each of the monasteries has a sturdy high wall and a place for the monks' to live.