






import os







def 					SCREAMING_SNAKE_CASE    (			):
	snake_case__			:				Union[str, Any]       =  os.path.dirname(os.path.realpath(_a       )       )
	snake_case__			:				Tuple       =  os.path.join(_a					,  "triangle.txt"       )

	with open(_a       ) as f:
		snake_case__			:				Union[str, Any]       =  f.readlines()

	snake_case__			:				Tuple       =  []
	for line in triangle:
		snake_case__			:				Tuple       =  []
		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__			:				Any       =  a[i - 1][j] if j != len(a[i - 1]       ) else 0
			snake_case__			:				str       =  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())











def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							int					,  snake_case_ :							float					,  snake_case_ :							float       ):
	return round(float(moles / volume       ) * nfactor       )







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							float					,  snake_case_ :							float					,  snake_case_ :							float       ):
	return round(float((moles * 0.08_21 * temperature) / (volume)       )       )







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							float					,  snake_case_ :							float					,  snake_case_ :							float       ):
	return round(float((moles * 0.08_21 * temperature) / (pressure)       )       )







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							float					,  snake_case_ :							float					,  snake_case_ :							float       ):
	return round(float((pressure * volume) / (0.08_21 * moles)       )       )


if __name__ == "__main__":
	import doctest

	doctest.testmod()



