וַֽיְהִי֙ כָּל־יְמֵי־לֶ֔מֶךְ שֶׁ֤בַע וְשִׁבְעִים֙ שָׁנָ֔ה וּשְׁבַ֥ע מֵא֖וֹת שָׁנָ֑ה וַיָּמֹֽת׃ (ס)
And all the days of Lamech were seven hundred seventy and seven years; and he died.
Read halakhic rulings (Jewish law) on Genesis 5:31: and classical halakhic sources.