



'''simple docstring'''




from __future__ import annotations

import typing
from collections import Counter



def      a      (			lowerCamelCase__   ):
			'''simple docstring'''





			A_     :						Any     =					Counter()
			for base in range(1						,				max_perimeter + 1   ):
						for perpendicular in range(_UpperCamelCase						,				max_perimeter + 1   ):
									A_     :						Optional[Any]     =					(base * base + perpendicular * perpendicular) ** 0.5
									if hypotenuse == int(_UpperCamelCase   ):
												A_     :						Optional[Any]     =					int(base + perpendicular + hypotenuse   )
												if perimeter > max_perimeter:
															continue
												triplets[perimeter] += 1
			return triplets



def      a      (			lowerCamelCase__ = 10_00   ):
			'''simple docstring'''





			A_     :						Optional[Any]     =					pythagorean_triple(_UpperCamelCase   )
			return triplets.most_common(1   )[0][0]


if __name__ == "__main__":
						print(F"Perimeter {solution()} has maximum solutions")




'''simple docstring'''




def      a      (			):
			'''simple docstring'''





			A_     :						Optional[int]     =					[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

			A_     :						Dict     =					6
			A_     :						List[Any]     =					1
			A_     :						Optional[Any]     =					19_01

			A_     :						Tuple     =					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
												A_     :						Optional[Any]     =					day - days_per_month[month - 2]
									elif day > 29 and month == 2:
												month += 1
												A_     :						str     =					day - 29
						else:
									if day > days_per_month[month - 1]:
												month += 1
												A_     :						List[str]     =					day - days_per_month[month - 2]

						if month > 12:
									year += 1
									A_     :						Tuple     =					1

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


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