'''simple docstring'''

from __future__ import annotations

import typing
from collections import Counter







def __UpperCamelCase(   _A					:				int    ):
   '''simple docstring'''
   UpperCAmelCase__							:				typing.Counter[int]   				=  Counter()
   for base in range(1  ,			max_perimeter + 1    ):
      for perpendicular in range(_A  ,			max_perimeter + 1    ):
         UpperCAmelCase__							:				Union[str, Any]   				=  (base * base + perpendicular * perpendicular) ** 0.5
         if hypotenuse == int(_A    ):
            UpperCAmelCase__							:				Optional[int]   				=  int(base + perpendicular + hypotenuse    )
            if perimeter > max_perimeter:
               continue
            triplets[perimeter] += 1
   return triplets







def __UpperCamelCase(   _A					:				int = 10_00    ):
   '''simple docstring'''
   UpperCAmelCase__							:				Optional[Any]   				=  pythagorean_triple(_A    )
   return triplets.most_common(1    )[0][0]


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





'''simple docstring'''

def __UpperCamelCase(   _A					:				str  ,			_A					:				str    ):
   '''simple docstring'''
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  len(_A    )
   UpperCAmelCase__							:				int   				=  (
       first_str_length if first_str_length > second_str_length else second_str_length
   )
   UpperCAmelCase__							:				list   				=  []
   for char_count in range(_A    ):
      if char_count < first_str_length:
         output_list.append(first_str[char_count]    )
      if char_count < second_str_length:
         output_list.append(second_str[char_count]    )
   return "".join(_A    )


if __name__ == "__main__":
  print(alternative_string_arrange('AB', 'XYZ'), end=' ')




