


"""simple docstring"""
from collections.abc import Sequence







def   _a			( _SCREAMING_SNAKE_CASE = None			)      ->			int:
							if nums is None or not nums:
														raise ValueError("""Input sequence should not be empty"""			)

							snake_case_          =						nums[0]
							for i in range(1			,	len(_SCREAMING_SNAKE_CASE			)			):
														snake_case_          =						nums[i]
														snake_case_          =						max(_SCREAMING_SNAKE_CASE			,	ans + num			,	_SCREAMING_SNAKE_CASE			)

							return ans


if __name__ == "__main__":
				import doctest

				doctest.testmod()

				# Try on a sample input from the user
				__SCREAMING_SNAKE_CASE							:      int						=      int(input('Enter number of elements : ').strip())
				__SCREAMING_SNAKE_CASE							:      List[str]						=      list(map(int, input('\nEnter the numbers : ').strip().split()))[:n]
				print(max_subsequence_sum(array))







"""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()))



