






"""simple docstring"""
import os





def 							lowercase__		(				):
				_SCREAMING_SNAKE_CASE      :		List[Any]							=						os.path.dirname(os.path.realpath(lowerCamelCase					)					)
				_SCREAMING_SNAKE_CASE      :		Optional[int]							=						os.path.join(lowerCamelCase,	'triangle.txt'					)

				with open(lowerCamelCase					) as f:
								_SCREAMING_SNAKE_CASE      :		Any							=						f.readlines()

				_SCREAMING_SNAKE_CASE      :		Optional[Any]							=						[[int(lowerCamelCase					) for y in x.rstrip('\r\n'					).split(' '					)] for x in triangle]

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


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









"""simple docstring"""
from .chunk_utils import chunk_layer
from .data_transforms import make_atomaa_masks
from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
from .loss import compute_predicted_aligned_error, compute_tm
from .protein import Protein as OFProtein
from .protein import to_pdb
from .rigid_utils import Rigid, Rotation
from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims

