





"""simple docstring"""






from ..utils import DummyObject, requires_backends




class 				__lowercase			(			metaclass=__SCREAMING_SNAKE_CASE							):







					'''simple docstring'''




					__lowerCAmelCase  =  ['onnx']







					def __init__(						self	,			*_UpperCAmelCase	,			**_UpperCAmelCase     ):
									requires_backends(self	,			['''onnx''']     )







					@classmethod
					def  _lowerCamelCase     (						cls	,			*_UpperCAmelCase	,			**_UpperCAmelCase     ):
									requires_backends(cls	,			['''onnx''']     )







					@classmethod
					def  _lowerCamelCase     (						cls	,			*_UpperCAmelCase	,			**_UpperCAmelCase     ):
									requires_backends(cls	,			['''onnx''']     )






"""simple docstring"""






from __future__ import annotations

import typing
from collections import Counter

def     __A      (			a_						:int)		->		typing.Counter[int]:
				__a :						typing.Counter[int]			       =  Counter()
				for base in range(1   ,       max_perimeter + 1):
								for perpendicular in range(a_   ,       max_perimeter + 1):
												__a :						Any			       =  (base * base + perpendicular * perpendicular) ** 0.5
												if hypotenuse == int(a_):
																__a :						List[Any]			       =  int(base + perpendicular + hypotenuse)
																if perimeter > max_perimeter:
																				continue
																triplets[perimeter] += 1
				return triplets

def     __A      (			a_						:int = 10_00)		->		int:
				__a :						Dict			       =  pythagorean_triple(a_)
				return triplets.most_common(1)[0][0]


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