

'''simple docstring'''
from __future__ import annotations

import typing
from collections import Counter




def 	UpperCamelCase   (       lowercase_						:    int	)		->	typing.Counter[int]:




  '''simple docstring'''



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




def 	UpperCamelCase   (       lowercase_						:    int = 1_0_0_0	)		->	int:




  '''simple docstring'''



  lowercase									=pythagorean_triple(lowercase_	)
  return triplets.most_common(1	)[0][0]


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


import enum
import shutil
import sys


__A,		__A							=shutil.get_terminal_size()

__A							={'''UP''': '''A''', '''DOWN''': '''B''', '''RIGHT''': '''C''', '''LEFT''': '''D'''}




class        _SCREAMING_SNAKE_CASE	( enum.Enum		):
	lowerCAmelCase__   =					0
	lowerCAmelCase__   =					1





def      lowerCamelCase_					(							lowerCamelCase__      ,					lowerCamelCase__=""       ):
				sys.stdout.write(str(lowerCamelCase__       ) + end       )
				sys.stdout.flush()





def      lowerCamelCase_					(							lowerCamelCase__      ,					lowerCamelCase__      ,					lowerCamelCase__=""       ):
				forceWrite(F'\u001b[{color}m{content}\u001b[0m'      ,					lowerCamelCase__       )





def      lowerCamelCase_					(							):
				forceWrite("\r"       )





def      lowerCamelCase_					(							lowerCamelCase__      ,					lowerCamelCase__       ):
				forceWrite(F'\033[{num_lines}{CURSOR_TO_CHAR[direction.upper()]}'       )





def      lowerCamelCase_					(							):
				forceWrite(" " * TERMINAL_WIDTH       )
				reset_cursor()





def      lowerCamelCase_					(							):
				reset_cursor()
				forceWrite("-" * TERMINAL_WIDTH       )


