Where does “行末” come from?

Words derived from “行末