





from ..utils import DummyObject, requires_backends


snake_case__   :				List[Any]						=	None



def _a							(      *lowerCamelCase:  List[Any]   ,							**lowerCamelCase:  Any					)      ->		int:







      '''simple docstring'''






      requires_backends(lowerCamelCase   ,							['''sentencepiece''', '''tokenizers''']					)












import os



def _a							(      )      ->		int:







      '''simple docstring'''






      __A			  =							os.path.dirname(os.path.realpath(lowerCamelCase					)					)
      __A			  =							os.path.join(lowerCamelCase   ,							'''triangle.txt'''					)

      with open(lowerCamelCase					) as in_file:
            __A			  =							[[int(lowerCamelCase					) for i in line.split()] for line in in_file]

      while len(lowerCamelCase					) != 1:
            __A			  =							triangle.pop()
            __A			  =							triangle[-1]
            for j in range(len(lowerCamelCase					) - 1					):
                  curr_row[j] += max(last_row[j]   ,							last_row[j + 1]					)
      return triangle[0][0]


if __name__ == "__main__":
       print(solution())





