Lamech lived a total of 777 years, and then died.