
"""simple docstring"""
from transformers import SqueezeBertTokenizer, SqueezeBertTokenizerFast
from transformers.testing_utils import require_tokenizers, slow

from ..bert.test_tokenization_bert import BertTokenizationTest






@require_tokenizers
class   _UpperCAmelCase					(       _snake_case):
    __lowercase				:			Union[str, Any]	=       SqueezeBertTokenizer
    __lowercase				:			List[Any]	=       SqueezeBertTokenizerFast
    __lowercase				:			Any	=       True
    def        lowerCamelCase__						(     self    ,     **snake_case_  ):
      return SqueezeBertTokenizerFast.from_pretrained(self.tmpdirname    ,     **snake_case_  )


    @slow
    def        lowerCamelCase__						(     self  ):
      _snake_case  :    List[Any]            = SqueezeBertTokenizer.from_pretrained("squeezebert/squeezebert-mnli-headless"  )

      _snake_case  :    Tuple            = tokenizer.encode("sequence builders"    ,     add_special_tokens=snake_case_  )
      _snake_case  :    int            = tokenizer.encode("multi-sequence build"    ,     add_special_tokens=snake_case_  )

      _snake_case  :    List[str]            = tokenizer.build_inputs_with_special_tokens(snake_case_  )
      _snake_case  :    Union[str, Any]            = tokenizer.build_inputs_with_special_tokens(snake_case_    ,     snake_case_  )

      assert encoded_sentence == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id]
      assert encoded_pair == [tokenizer.cls_token_id] + text + [tokenizer.sep_token_id] + text_a + [
          tokenizer.sep_token_id
      ]






'''simple docstring'''






import itertools




def        snake_case_   (	lowerCAmelCase_						)->						Dict:





       '''simple docstring'''


       return (
           int("""""".join(combination[0:2]						)						) * int("""""".join(combination[2:5]						)						)
           == int("""""".join(combination[5:9]						)						)
       ) or (
           int("""""".join(combination[0]						)						) * int("""""".join(combination[1:5]						)						)
           == int("""""".join(combination[5:9]						)						)
       )




def        snake_case_   (	)->						str:





       '''simple docstring'''


       return sum(
           {
               int("""""".join(pandigital[5:9]						)						)
               for pandigital in itertools.permutations("""123456789"""						)
               if is_combination_valid(lowerCAmelCase_						)
           }						)


if __name__ == "__main__":
   print(solution())



