



from __future__ import annotations

import typing
from collections import Counter



def 	__a					(   lowerCAmelCase_       : int    )				->			typing.Counter[int]:






						'''simple docstring'''



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



def 	__a					(   lowerCAmelCase_       : int = 10_00    )				->			int:






						'''simple docstring'''



						UpperCAmelCase_=       pythagorean_triple(lowerCAmelCase_    )
						return triplets.most_common(1    )[0][0]


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









import warnings
from functools import wraps
from typing import Callable



def 	__a					(   lowerCAmelCase_       : Callable    )				->			Callable:






						'''simple docstring'''



						@wraps(lowerCAmelCase_    )
						def _inner_fn(*lowerCAmelCase_       : List[Any]      ,**lowerCAmelCase_       : Tuple    ):
												warnings.warn(
												    (F"""'{fn.__name__}' is experimental and might be subject to breaking changes in the future.""")      ,lowerCAmelCase_      ,)
												return fn(*lowerCAmelCase_      ,**lowerCAmelCase_    )

						return _inner_fn




