




import warnings

from ...utils import logging
from .image_processing_vit import ViTImageProcessor


__lowerCAmelCase						:							Any			     =						logging.get_logger(__name__)




class        snake_case__				(_UpperCamelCase  ):
				"""simple docstring"""



				def __init__( self							:	List[str]   , *__lowerCamelCase							:	int   , **__lowerCamelCase							:	str				)   ->	str:
							warnings.warn(
							    "The class ViTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please"
							    " use ViTImageProcessor instead."   , __lowerCamelCase   , )
							super().__init__(*__lowerCamelCase   , **__lowerCamelCase				)














"""simple docstring"""





from itertools import combinations, product



def      __lowercase       (     a			:					int							,		a			:					int							,		a			:					int							,		a			:					int			)       ->       bool:
      if xa == ya == 0 or xa == ya == 0:
            return False
      __snake_case   :     Any	      =xa * xa + ya * ya
      __snake_case   :     Tuple	      =xa * xa + ya * ya
      __snake_case   :     List[Any]	      =(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      __lowercase       (     a			:					int = 50			)       ->       int:
      return sum(
          1
          for pta, pta in combinations(product(range(limit + 1			)							,		repeat=2			)							,		2			)
          if is_right(*a							,		*a			)			)


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


