


"""simple docstring"""
import os







def   _a			( )      ->			List[str]:
							snake_case_          =						os.path.dirname(os.path.realpath(_SCREAMING_SNAKE_CASE			)			)
							snake_case_          =						os.path.join(_SCREAMING_SNAKE_CASE			,	"""triangle.txt"""			)

							with open(_SCREAMING_SNAKE_CASE			) as f:
														snake_case_          =						f.readlines()

							snake_case_          =						[]
							for line in triangle:
														snake_case_          =						[]
														for number in line.strip().split(""" """			):
																					numbers_from_line.append(int(_SCREAMING_SNAKE_CASE			)			)
														a.append(_SCREAMING_SNAKE_CASE			)

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


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







"""simple docstring"""
from collections import namedtuple

import requests
from lxml import html  # type: ignore

__SCREAMING_SNAKE_CASE							:      List[str]						=      namedtuple('covid_data', 'cases deaths recovered')







def   _a			( _SCREAMING_SNAKE_CASE = "https://www.worldometers.info/coronavirus/"			)      ->			covid_data:
							snake_case_          =						"""//div[@class = \"maincounter-number\"]/span/text()"""
							return covid_data(*html.fromstring(requests.get(_SCREAMING_SNAKE_CASE			).content			).xpath(_SCREAMING_SNAKE_CASE			)			)


__SCREAMING_SNAKE_CASE							:      List[str]						=      'Total COVID-19 cases in the world: {}\nTotal deaths due to COVID-19 in the world: {}\nTotal COVID-19 patients recovered in the world: {}'





print(fmt.format(*covid_stats()))



