




"""simple docstring"""







import copy
from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import ClassLabel, Features, Image
from .base import TaskTemplate

@dataclass(frozen=lowerCamelCase_			)
class 				snake_case_			(					lowerCamelCase_			):







   """simple docstring"""




   A_				      =       field(default='''image-classification'''	, metadata={'''include_in_asdict_even_if_is_default''': True}			)
   A_				      =       Features({'''image''': Image()}			)
   A_				      =       Features({'''labels''': ClassLabel}			)
   A_				      =       "image"
   A_				      =       "labels"







   def   UpperCAmelCase__			(		self       ,					lowerCamelCase_)				->   Tuple:
       if self.label_column not in features:
           raise ValueError(F'Column {self.label_column} is not present in features.')
       if not isinstance(features[self.label_column]       ,					lowerCamelCase_):
           raise ValueError(F'Column {self.label_column} is not a ClassLabel.')
       UpperCamelCase              =	copy.deepcopy(self)
       UpperCamelCase              =	self.label_schema.copy()
       UpperCamelCase              =	features[self.label_column]
       UpperCamelCase              =	label_schema
       return task_template







   @property
   def   UpperCAmelCase__			(		self)				->   Dict[str, str]:
       return {
           self.image_column: "image",
           self.label_column: "labels",
       }

"""simple docstring"""



from itertools import permutations
def 					lowerCamelCase   (     _snake_case ):
    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

    UpperCAmelCase__	:      List[str]     							=					[7, 11, 13, 17]
    for i, test in enumerate(_snake_case ):
        if (num[i + 4] * 100 + num[i + 5] * 10 + num[i + 6]) % test != 0:
            return False
    return True
def 					lowerCamelCase   (     _snake_case = 10 ):
    return sum(
        int(''.join(map(_snake_case    ,_snake_case ) ) )
        for num in permutations(range(_snake_case ) )
        if is_substring_divisible(_snake_case ) )


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

