All the days of Lamekh were seven hundred seventy-seven years, then he died.
Lamekh lived after he became the father of Noach five hundred ninety-five years, and became the father of sons and daughters.
Noach was five hundred years old, and Noach became the father of Shem, Cham, and Yefet.