






from __future__ import annotations

import os
from collections.abc import Mapping

lowerCamelCase     :							int    =tuple[int, int]





class       __a  :







 def __init__(		self :       Dict							,       SCREAMING_SNAKE_CASE :       set[int]							,       SCREAMING_SNAKE_CASE :       Mapping[EdgeT, int]						):


      '''simple docstring'''






      UpperCamelCase__      :       set[int]	    =  vertices
      UpperCamelCase__      :       dict[EdgeT, int]	    =  {
          (min(SCREAMING_SNAKE_CASE						), max(SCREAMING_SNAKE_CASE						)): weight for edge, weight in edges.items()
      }







 def  __lowercase (		self :       List[str]							,       SCREAMING_SNAKE_CASE :       EdgeT							,       SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      self.vertices.add(edge[0]						)
      self.vertices.add(edge[1]						)
      UpperCamelCase__      :       str	    =  weight







 def  __lowercase (		self :       str						):


      '''simple docstring'''






      UpperCamelCase__      :       Graph	    =  Graph({min(self.vertices						)}							,       {}						)
      UpperCamelCase__      :       EdgeT
      UpperCamelCase__      :       int
      UpperCamelCase__      :       EdgeT
      UpperCamelCase__      :       int

      while len(subgraph.vertices						) < len(self.vertices						):
           UpperCamelCase__      :       List[Any]	    =  max(self.edges.values()						) + 1
           for edge, weight in self.edges.items():
                if (edge[0] in subgraph.vertices) ^ (edge[1] in subgraph.vertices):
                     if weight < min_weight:
                          UpperCamelCase__      :       Dict	    =  edge
                          UpperCamelCase__      :       Optional[Any]	    =  weight

           subgraph.add_edge(SCREAMING_SNAKE_CASE							,       SCREAMING_SNAKE_CASE						)

      return subgraph







def 		SCREAMING_SNAKE_CASE							( __lowerCAmelCase = "p107_network.txt"      )			->     int:
     UpperCamelCase__      :       str	    =  os.path.abspath(os.path.dirname(__lowerCAmelCase      )      )
     UpperCamelCase__      :       str	    =  os.path.join(__lowerCAmelCase ,   __lowerCAmelCase      )
     UpperCamelCase__      :       dict[EdgeT, int]	    =  {}
     UpperCamelCase__      :       list[str]
     UpperCamelCase__      :       int
     UpperCamelCase__      :       int

     with open(__lowerCAmelCase      ) as f:
          UpperCamelCase__      :       List[str]	    =  f.read().strip().split("\n"      )

     UpperCamelCase__      :       Tuple	    =  [line.split(","      ) for line in data]

     for edgea in range(1 ,   len(__lowerCAmelCase      )      ):
          for edgea in range(__lowerCAmelCase      ):
               if adjaceny_matrix[edgea][edgea] != "-":
                    UpperCamelCase__      :       int	    =  int(adjaceny_matrix[edgea][edgea]      )

     UpperCamelCase__      :       Graph	    =  Graph(set(range(len(__lowerCAmelCase      )      )      ) ,   __lowerCAmelCase      )

     UpperCamelCase__      :       Graph	    =  graph.prims_algorithm()

     UpperCamelCase__      :       int	    =  sum(graph.edges.values()      )
     UpperCamelCase__      :       int	    =  sum(subgraph.edges.values()      )

     return initial_total - optimal_total


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







from ..utils import DummyObject, requires_backends





class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     int:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Optional[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Optional[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Union[str, Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Any:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     Dict:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )







def 		SCREAMING_SNAKE_CASE							( *__lowerCAmelCase ,   **__lowerCAmelCase      )			->     List[Any]:
     requires_backends(__lowerCAmelCase ,   ["torch"]      )





class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







 def __init__(		self :       Tuple							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       List[Any]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	int				=			['''torch''']







 def __init__(		self :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Any				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       str							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Optional[int]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







 def __init__(		self :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	str				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Union[str, Any]				=			['''torch''']







 def __init__(		self :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       List[str]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Any							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Union[str, Any]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       Tuple						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[int]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       str							,       *SCREAMING_SNAKE_CASE :       Any							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[Any]				=			['''torch''']







 def __init__(		self :       Tuple							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       Dict							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Optional[int]				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       List[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       int							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	List[str]				=			['''torch''']







 def __init__(		self :       int							,       *SCREAMING_SNAKE_CASE :       Tuple							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[str]							,       *SCREAMING_SNAKE_CASE :       List[str]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       List[Any]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       Dict						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Tuple				=			['''torch''']







 def __init__(		self :       Any							,       *SCREAMING_SNAKE_CASE :       str							,       **SCREAMING_SNAKE_CASE :       Any						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Tuple							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       Optional[Any]							,       **SCREAMING_SNAKE_CASE :       int						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







class       __a  (   metaclass=A__	):
 _lowerCAmelCase	:	Dict				=			['''torch''']







 def __init__(		self :       Optional[int]							,       *SCREAMING_SNAKE_CASE :       List[Any]							,       **SCREAMING_SNAKE_CASE :       str						):


      '''simple docstring'''






      requires_backends(self							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Optional[Any]							,       *SCREAMING_SNAKE_CASE :       int							,       **SCREAMING_SNAKE_CASE :       Union[str, Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)







 @classmethod
 def  __lowercase (		cls :       Dict							,       *SCREAMING_SNAKE_CASE :       Union[str, Any]							,       **SCREAMING_SNAKE_CASE :       Optional[Any]						):


      '''simple docstring'''






      requires_backends(cls							,       ["torch"]						)