Genesis 5:28-32 (NIV)
28 When Lamech had lived 182 years, he had a son. 29 He named him Noah and said, “He will comfort us in the labor and painful toil of our hands caused by the ground the Lord has cursed.” 30 After Noah was born, Lamech lived 595 years and had other sons and daughters. 31 Altogether, Lamech lived a total of 777 years, and then he died.
32 After Noah was 500 years old, he became the father of Shem, Ham and Japheth.