
"""simple docstring"""




def lowercase_  (   ):
							SCREAMING_SNAKE_CASE__						:       int           =   [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

							SCREAMING_SNAKE_CASE__						:       Optional[int]           =   6
							SCREAMING_SNAKE_CASE__						:       Union[str, Any]           =   1
							SCREAMING_SNAKE_CASE__						:       List[str]           =   1_901

							SCREAMING_SNAKE_CASE__						:       List[Any]           =   0

							while year < 2_001:
														day += 7

														if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 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__						:       str           =   day - 29
														else:
																					if day > days_per_month[month - 1]:
																												month += 1
																												SCREAMING_SNAKE_CASE__						:       List[str]           =   day - days_per_month[month - 2]

														if month > 12:
																					year += 1
																					SCREAMING_SNAKE_CASE__						:       List[str]           =   1

														if year < 2_001 and day == 1:
																					sundays += 1
							return sundays


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






"""simple docstring"""




def lowercase_  (   _snake_case   ,_snake_case						):

							if not (isinstance(_snake_case   ,_snake_case						) and isinstance(_snake_case   ,_snake_case						)):
														raise ValueError("""longest_common_substring() takes two strings for inputs"""						)

							SCREAMING_SNAKE_CASE__						:       Optional[Any]           =   len(_snake_case						)
							SCREAMING_SNAKE_CASE__						:       int           =   len(_snake_case						)

							SCREAMING_SNAKE_CASE__						:       Dict           =   [[0] * (texta_length + 1) for _ in range(texta_length + 1						)]
							SCREAMING_SNAKE_CASE__						:       List[Any]           =   0
							SCREAMING_SNAKE_CASE__						:       Union[str, Any]           =   0

							for i in range(1   ,texta_length + 1						):
														for j in range(1   ,texta_length + 1						):
																					if texta[i - 1] == texta[j - 1]:
																												SCREAMING_SNAKE_CASE__						:       int           =   1 + dp[i - 1][j - 1]
																												if dp[i][j] > ans_length:
																																			SCREAMING_SNAKE_CASE__						:       List[Any]           =   i
																																			SCREAMING_SNAKE_CASE__						:       List[str]           =   dp[i][j]

							return texta[ans_index - ans_length : ans_index]


if __name__ == "__main__":
					import doctest

					doctest.testmod()




