
"""simple docstring"""




import baseaa



def        _lowerCamelCase ( __a    ):
		return baseaa.baaencode(string.encode('''utf-8'''    )    )



def        _lowerCamelCase ( __a    ):
		return baseaa.baadecode(__a    ).decode('''utf-8'''    )


if __name__ == "__main__":
						lowerCAmelCase__							=				'Hello World!'
						lowerCAmelCase__							=				baseaa_encode(test)
						print(encoded)

						lowerCAmelCase__							=				baseaa_decode(encoded)
						print(decoded)

"""simple docstring"""




from __future__ import annotations

import typing
from collections import Counter



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



def        _lowerCamelCase ( __a = 1_000    ):
		SCREAMING_SNAKE_CASE_						 = pythagorean_triple(__a    )
		return triplets.most_common(1    )[0][0]


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