Input (grade 5): He had two younger sisters named Anna Maria and Maria Magdalena.
Output (grade 6): He had two younger sisters named Anna-Maria and Maria Magdalena.