





from __future__ import annotations

import typing
from collections import Counter






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






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							int = 1_000    ):
		SCREAMING_SNAKE_CASE__			=      pythagorean_triple(UpperCamelCase__    )
		return triplets.most_common(1    )[0][0]


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











from math import pow, sqrt






def 				SCREAMING_SNAKE_CASE__							(       *UpperCamelCase__:							float    ):
		SCREAMING_SNAKE_CASE__			=      len(UpperCamelCase__    ) > 0 and all(value > 0.0 for value in values    )
		return result






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							float					,   UpperCamelCase__:							float    ):
		return (
		    round(sqrt(molar_mass_a / molar_mass_a    )					,   6    )
		    if validate(UpperCamelCase__					,   UpperCamelCase__    )
		    else ValueError("""Input Error: Molar mass values must greater than 0."""    )
		)






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							float					,   UpperCamelCase__:							float					,   UpperCamelCase__:							float    ):
		return (
		    round(effusion_rate * sqrt(molar_mass_a / molar_mass_a    )					,   6    )
		    if validate(UpperCamelCase__					,   UpperCamelCase__					,   UpperCamelCase__    )
		    else ValueError(
		        """Input Error: Molar mass and effusion rate values must greater than 0."""    )
		)






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							float					,   UpperCamelCase__:							float					,   UpperCamelCase__:							float    ):
		return (
		    round(effusion_rate / sqrt(molar_mass_a / molar_mass_a    )					,   6    )
		    if validate(UpperCamelCase__					,   UpperCamelCase__					,   UpperCamelCase__    )
		    else ValueError(
		        """Input Error: Molar mass and effusion rate values must greater than 0."""    )
		)






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							float					,   UpperCamelCase__:							float					,   UpperCamelCase__:							float    ):
		return (
		    round(molar_mass / pow(effusion_rate_a / effusion_rate_a					,   2    )					,   6    )
		    if validate(UpperCamelCase__					,   UpperCamelCase__					,   UpperCamelCase__    )
		    else ValueError(
		        """Input Error: Molar mass and effusion rate values must greater than 0."""    )
		)






def 				SCREAMING_SNAKE_CASE__							(       UpperCamelCase__:							float					,   UpperCamelCase__:							float					,   UpperCamelCase__:							float    ):
		return (
		    round(pow(effusion_rate_a / effusion_rate_a					,   2    ) / molar_mass					,   6    )
		    if validate(UpperCamelCase__					,   UpperCamelCase__					,   UpperCamelCase__    )
		    else ValueError(
		        """Input Error: Molar mass and effusion rate values must greater than 0."""    )
		)