


import os
def 				UpperCamelCase_	(					)->   List[str]:




						'''simple docstring'''
						__magic_name__					=      os.path.dirname(os.path.realpath(__snake_case  )  )
						__magic_name__					=      os.path.join(__snake_case						,      'triangle.txt'  )

						with open(__snake_case  ) as f:
												__magic_name__					=      f.readlines()

						__magic_name__					=      [[int(__snake_case  ) for y in x.rstrip('\r\n'  ).split(' '  )] for x in triangle]

						for i in range(1						,      len(__snake_case  )  ):
												for j in range(len(a[i]  )  ):
																		__magic_name__					=      a[i - 1][j] if j != len(a[i - 1]  ) else 0
																		__magic_name__					=      a[i - 1][j - 1] if j > 0 else 0
																		a[i][j] += max(__snake_case						,      __snake_case  )
						return max(a[-1]  )


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





from itertools import count
from math import asin, pi, sqrt
def 				UpperCamelCase_	(					__snake_case      :    float  )->   float:




						'''simple docstring'''
						return (
						    (1 - 2 * point) * sqrt(point - point**2  ) + 2 * point + asin(sqrt(1 - point  )  )
						) / 4
def 				UpperCamelCase_	(					__snake_case      :    int  )->   float:




						'''simple docstring'''
						__magic_name__					=      (circles_number + 1 - sqrt(2 * circles_number  )) / (
						    2 * (circles_number**2 + 1)
						)
						__magic_name__					=      circles_number * intersection_y

						__magic_name__					=      intersection_x * intersection_y / 2
						__magic_name__					=      circle_bottom_arc_integral(
						    1 / 2  ) - circle_bottom_arc_integral(__snake_case  )

						return triangle_area + concave_region_area
def 				UpperCamelCase_	(					__snake_case      :    float = 1 / 10_00  )->   int:




						'''simple docstring'''
						__magic_name__					=      (1 - pi / 4) / 4

						for n in count(1  ):
												if concave_triangle_area(__snake_case  ) / l_section_area < fraction:
																		return n

						return -1


if __name__ == "__main__":
					print(f'''{solution() = }''')

