






"""simple docstring"""

from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels








"""simple docstring"""

import os

def 		__lowerCamelCase	(  )						->    Optional[Any]:

		"""simple docstring"""







		lowerCAmelCase_   :							Union[str, Any]									=			os.path.dirname(os.path.realpath(__UpperCamelCase       )       )
		lowerCAmelCase_   :							List[str]									=			os.path.join(__UpperCamelCase      ,       "triangle.txt"       )

		with open(__UpperCamelCase       ) as f:
				lowerCAmelCase_   :							Optional[int]									=			f.readlines()

		lowerCAmelCase_   :							Union[str, Any]									=			[]
		for line in triangle:
				lowerCAmelCase_   :							Any									=			[]
				for number in line.strip().split(" "       ):
						numbers_from_line.append(int(__UpperCamelCase       )       )
				a.append(__UpperCamelCase       )

		for i in range(1      ,       len(__UpperCamelCase       )       ):
				for j in range(len(a[i]       )       ):
						lowerCAmelCase_   :							Optional[Any]									=			a[i - 1][j] if j != len(a[i - 1]       ) else 0
						lowerCAmelCase_   :							int									=			a[i - 1][j - 1] if j > 0 else 0
						a[i][j] += max(__UpperCamelCase      ,       __UpperCamelCase       )
		return max(a[-1]       )


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