Input (grade 13): After the Ten Plagues, Moses leads the Exodus of the Israelites out of Egypt and across the Red Sea, after which they base themselves at Mount Sinai, where Moses receives the Ten Commandments.
Output (grade 7): After the Ten Plagues were unleashed on Egypt, Moses led the Hebrew people out of Egypt, across the Red Sea, where they based themselves at Horeb and compassed the borders of Edom. It was at this time that Moses received the Ten Commandments.