



'''simple docstring'''




def 				lowerCAmelCase_   (	):
		__SCREAMING_SNAKE_CASE       :		str           =		[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

		__SCREAMING_SNAKE_CASE       :		int           =		6
		__SCREAMING_SNAKE_CASE       :		Any           =		1
		__SCREAMING_SNAKE_CASE       :		List[str]           =		19_01

		__SCREAMING_SNAKE_CASE       :		str           =		0

		while year < 20_01:
				day += 7

				if (year % 4 == 0 and year % 1_00 != 0) or (year % 4_00 == 0):
						if day > days_per_month[month - 1] and month != 2:
								month += 1
								__SCREAMING_SNAKE_CASE       :		Optional[int]           =		day - days_per_month[month - 2]
						elif day > 29 and month == 2:
								month += 1
								__SCREAMING_SNAKE_CASE       :		Union[str, Any]           =		day - 29
				else:
						if day > days_per_month[month - 1]:
								month += 1
								__SCREAMING_SNAKE_CASE       :		List[Any]           =		day - days_per_month[month - 2]

				if month > 12:
						year += 1
						__SCREAMING_SNAKE_CASE       :		str           =		1

				if year < 20_01 and day == 1:
						sundays += 1
		return sundays


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




'''simple docstring'''




from __future__ import annotations


def 				lowerCAmelCase_   (	_lowerCamelCase:   list[int]					):
		if not nums:
				return 0
		__SCREAMING_SNAKE_CASE       :		Optional[int]           =		nums[0]
		__SCREAMING_SNAKE_CASE       :		Union[str, Any]           =		0
		for num in nums[1:]:
				__SCREAMING_SNAKE_CASE       ,						__SCREAMING_SNAKE_CASE       :		Any           =		(
				    max_excluding + num,
				    max(_lowerCamelCase       ,      _lowerCamelCase					),
				)
		return max(_lowerCamelCase       ,      _lowerCamelCase					)


if __name__ == "__main__":
						import doctest

						doctest.testmod()