Input (grade 10): Every town had its own commune and no two communes were alike, but at their heart, communes were sworn allegiances of mutual defense.
Output (grade 9): Every town had its own commune and no two communes were alike, but at the heart, communes were sworn alliegences of mutual defense.