





'''simple docstring'''






A__				:   Dict      =[
    """VerificationMode""",
    """Version""",
    """disable_progress_bar""",
    """enable_progress_bar""",
    """is_progress_bar_enabled""",
    """experimental""",
]

from .info_utils import VerificationMode
from .logging import disable_progress_bar, enable_progress_bar, is_progress_bar_enabled
from .version import Version
from .experimental import experimental










'''simple docstring'''

import os





def __snake_case					(      UpperCAmelCase_						:						str = "matrix.txt"		):
 with open(os.path.join(os.path.dirname(UpperCAmelCase_		)					,				UpperCAmelCase_		)		) as in_file:
  lowerCamelCase_      =  in_file.read()

 lowerCamelCase_      =  [[int(UpperCAmelCase_		) for cell in row.split(","		)] for row in data.strip().splitlines()]
 lowerCamelCase_      =  [[0 for cell in row] for row in grid]
 lowerCamelCase_      =  len(grid[0]		)

 lowerCamelCase_      =  [[0 for i in range(UpperCAmelCase_		)] for j in range(UpperCAmelCase_		)]
 lowerCamelCase_      =  grid[0][0]
 for i in range(1					,				UpperCAmelCase_		):
  lowerCamelCase_      =  grid[0][i] + dp[0][i - 1]
 for i in range(1					,				UpperCAmelCase_		):
  lowerCamelCase_      =  grid[i][0] + dp[i - 1][0]

 for i in range(1					,				UpperCAmelCase_		):
  for j in range(1					,				UpperCAmelCase_		):
   lowerCamelCase_      =  grid[i][j] + min(dp[i - 1][j]					,				dp[i][j - 1]		)

 return dp[-1][-1]


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



