Input (grade 7): Then they returned home and rested, because Shabbat had begun at sunset.
Output (grade 6): Then they went back home and rested, because at sunset began Shabbat.