

from __future__ import annotations

from enum import Enum





class    __UpperCAmelCase	(			__snake_case		):
   UpperCamelCase  	=	2_4
   UpperCamelCase  	=	2_1
   UpperCamelCase  	=	1_8
   UpperCamelCase  	=	1_5
   UpperCamelCase  	=	1_2
   UpperCamelCase  	=	9
   UpperCamelCase  	=	6
   UpperCamelCase  	=	3
   UpperCamelCase  	=	2
   UpperCamelCase  	=	1
   UpperCamelCase  	=	-1
   UpperCamelCase  	=	-2
   UpperCamelCase  	=	-3
   UpperCamelCase  	=	-6
   UpperCamelCase  	=	-9
   UpperCamelCase  	=	-1_2
   UpperCamelCase  	=	-1_5
   UpperCamelCase  	=	-1_8
   UpperCamelCase  	=	-2_1
   UpperCamelCase  	=	-2_4






class    __UpperCAmelCase	(			__snake_case		):
   UpperCamelCase  	=	8
   UpperCamelCase  	=	7
   UpperCamelCase  	=	6
   UpperCamelCase  	=	5
   UpperCamelCase  	=	4
   UpperCamelCase  	=	3
   UpperCamelCase  	=	2
   UpperCamelCase  	=	1






def      a__	(						UpperCAmelCase				:     List[Any]							,					UpperCAmelCase				:     str							,					UpperCAmelCase				:     List[str]							,					)    ->		Tuple:
  if isinstance(lowerCamelCase_							,					lowerCamelCase_     ):
    UpperCAmelCase			:				Optional[int]										=					SIUnit[known_prefix.lower()]
  if isinstance(lowerCamelCase_							,					lowerCamelCase_     ):
    UpperCAmelCase			:				List[Any]										=					SIUnit[unknown_prefix.lower()]
  UpperCAmelCase			:				List[str]										=					known_amount * (
      10 ** (known_prefix.value - unknown_prefix.value)
  )
  return unknown_amount

def      a__	(						UpperCAmelCase				:     List[Any]							,					UpperCAmelCase				:     Tuple							,					UpperCAmelCase				:     Dict							,					)    ->		Optional[int]:
  if isinstance(lowerCamelCase_							,					lowerCamelCase_     ):
    UpperCAmelCase			:				Tuple										=					BinaryUnit[known_prefix.lower()]
  if isinstance(lowerCamelCase_							,					lowerCamelCase_     ):
    UpperCAmelCase			:				List[Any]										=					BinaryUnit[unknown_prefix.lower()]
  UpperCAmelCase			:				Optional[Any]										=					known_amount * (
      2 ** ((known_prefix.value - unknown_prefix.value) * 10)
  )
  return unknown_amount


if __name__ == "__main__":
     import doctest

     doctest.testmod()













"""simple docstring"""







from itertools import combinations, product





def 							SCREAMING_SNAKE_CASE							(   lowerCamelCase_			,  lowerCamelCase_			,  lowerCamelCase_			,  lowerCamelCase_):
					if xa == ya == 0 or xa == ya == 0:
										return False
					a__ 							=	xa * xa + ya * ya
					a__ 							=	xa * xa + ya * ya
					a__ 							=	(xa - xa) * (xa - xa) + (ya - ya) * (ya - ya)
					return (
					    a_square + b_square == c_square
					    or a_square + c_square == b_square
					    or b_square + c_square == a_square
					)





def 							SCREAMING_SNAKE_CASE							(   lowerCamelCase_ = 50):
					return sum(
					    1
					    for pta, pta in combinations(product(range(limit + 1)			,  repeat=2)			,  2)
					    if is_right(*lowerCamelCase_			,  *lowerCamelCase_))


if __name__ == "__main__":
	print(F'''{solution() = }''')


