






import os

def      lowerCAmelCase__	(    ):
		snake_case_				:							int						 =       os.path.dirname(os.path.realpath(_a    )    )
		snake_case_				:							Optional[Any]						 =       os.path.join(_a  ,      "triangle.txt"    )

		with open(_a    ) as f:
				snake_case_				:							List[str]						 =       f.readlines()

		snake_case_				:							Tuple						 =       []
		for line in triangle:
				snake_case_				:							List[str]						 =       []
				for number in line.strip().split(" "    ):
						numbers_from_line.append(int(_a    )    )
				a.append(_a    )

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


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








import fire

from transformers import AutoConfig, AutoModelForSeqaSeqLM, AutoTokenizer

def      lowerCAmelCase__	(    _a       :			str  ,      _a       :			str  ,      **_a       :			Optional[int]    ):
		snake_case_				:							Any						 =       AutoConfig.from_pretrained(_a  ,      **_a    )
		snake_case_				:							str						 =       AutoModelForSeqaSeqLM.from_config(_a    )
		model.save_pretrained(_a    )
		AutoTokenizer.from_pretrained(_a    ).save_pretrained(_a    )
		return model


if __name__ == "__main__":
							fire.Fire(save_randomly_initialized_version)
