





"""simple docstring"""


from itertools import combinations, product





def 				a__      (	_UpperCAmelCase						,  _UpperCAmelCase						,  _UpperCAmelCase						,  _UpperCAmelCase						)     ->	bool:

 '''simple docstring'''






 if xa == ya == 0 or xa == ya == 0:
  return False
 snake_case__     				=					xa * xa + ya * ya
 snake_case__     				=					xa * xa + ya * ya
 snake_case__     				=					(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 				a__      (	_UpperCAmelCase = 5_0						)     ->	int:

 '''simple docstring'''






 return sum(
     1
     for pta, pta in combinations(product(range(limit + 1						)						,  repeat=2						)						,  2						)
     if is_right(*_UpperCAmelCase						,  *_UpperCAmelCase						)						)


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








"""simple docstring"""


def 				a__      (	_UpperCAmelCase						)     ->	int:

 '''simple docstring'''






 snake_case__     				=					0
 for plain_chr in plain_text:
  snake_case__     				=					(
      ord(_UpperCAmelCase						) + (hash_value << 6) + (hash_value << 1_6) - hash_value
  )
 return hash_value

