


"""simple docstring"""







from typing import List

import datasets
from datasets.tasks import AudioClassification

from ..folder_based_builder import folder_based_builder


__lowercase    					=      datasets.utils.logging.get_logger(__name__)






class 						_A  (  folder_based_builder.FolderBasedBuilderConfig  ):







    """simple docstring"""




    UpperCAmelCase       :							bool	=       None
    UpperCAmelCase       :							bool	=       None






class 						_A  (  folder_based_builder.FolderBasedBuilder  ):







    """simple docstring"""




    UpperCAmelCase       :							Any	=       datasets.Audio()
    UpperCAmelCase       :							str	=       """audio"""
    UpperCAmelCase       :							Optional[int]	=       AudioFolderConfig
    UpperCAmelCase       :							List[str]  # definition at the bottom of the script
    UpperCAmelCase       :							str	=       AudioClassification(audio_column="""audio"""    ,label_column="""label"""  )






__lowercase    					=      [
    """.aiff""",
    """.au""",
    """.avr""",
    """.caf""",
    """.flac""",
    """.htk""",
    """.svx""",
    """.mat4""",
    """.mat5""",
    """.mpc2k""",
    """.ogg""",
    """.paf""",
    """.pvf""",
    """.raw""",
    """.rf64""",
    """.sd2""",
    """.sds""",
    """.ircam""",
    """.voc""",
    """.w64""",
    """.wav""",
    """.nist""",
    """.wavex""",
    """.wve""",
    """.xi""",
    """.mp3""",
    """.opus""",
]
__lowercase    					=      AUDIO_EXTENSIONS










"""simple docstring"""







from itertools import permutations


def      lowercase			(				A_       )->      bool:
  '''simple docstring'''







  if num[3] % 2 != 0:
    return False

  if (num[2] + num[3] + num[4]) % 3 != 0:
    return False

  if num[5] % 5 != 0:
    return False

  a						:		Optional[int]      							=			[7, 11, 13, 17]
  for i, test in enumerate(A_       ):
    if (num[i + 4] * 100 + num[i + 5] * 10 + num[i + 6]) % test != 0:
      return False
  return True


def      lowercase			(				A_ = 10       )->      int:
  '''simple docstring'''







  return sum(
      int("".join(map(A_  ,   A_       )       )       )
      for num in permutations(range(A_       )       )
      if is_substring_divisible(A_       )       )


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






