import os

def 				UpperCamelCase					(     )		->    Dict:




       '''simple docstring'''






       _A=						os.path.dirname(os.path.realpath(_lowercase ) )
       _A=						os.path.join(_lowercase							,       'triangle.txt' )

       with open(_lowercase ) as in_file:
              _A=						[[int(_lowercase ) for i in line.split()] for line in in_file]

       while len(_lowercase ) != 1:
              _A=						triangle.pop()
              _A=						triangle[-1]
              for j in range(len(_lowercase ) - 1 ):
                     curr_row[j] += max(last_row[j]							,       last_row[j + 1] )
       return triangle[0][0]


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







import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info
def 							UpperCAmelCase   ( _lowercase   ):


    '''simple docstring'''



    class        snake_case_				:







       """simple docstring"""



       def __init__(     self:						Tuple ,							snake_case__:						Optional[int]						)	->		None:


           """simple docstring"""



           assert isinstance(snake_case__ ,							(bytes, str)						)
           _lowercase     			=						content

       def       SCREAMING_SNAKE_CASE__					(     self:						Tuple						)	->		str:


           """simple docstring"""



           return json.loads(self.content						)

    def mock_response(*_lowercase,   **_lowercase   ):
        assert args[0] == AUTHENTICATED_USER_ENDPOINT
        assert "Authorization" in kwargs["headers"]
        assert kwargs["headers"]["Authorization"].startswith('token '   )
        assert "Accept" in kwargs["headers"]
        return FakeResponse(b'{"login":"test","id":1}'   )

    monkeypatch.setattr(_lowercase,   'get',   _lowercase   )
    _lowercase     			=						fetch_github_info('token'   )
    assert result["login"] == "test"
    assert result["id"] == 1
