


'''simple docstring'''







def _UpperCamelCase       (     __A      ,			__A      ,			__A    )							->		int:


      '''simple docstring'''



      if exponent == 1:
            return base
      if exponent % 2 == 0:
            UpperCamelCase__										=				_modexpt(__A      ,			exponent // 2      ,			__A    ) % modulo_value
            return (x * x) % modulo_value
      else:
            return (base * _modexpt(__A      ,			exponent - 1      ,			__A    )) % modulo_value







def _UpperCamelCase       (     __A = 1777      ,			__A = 1855      ,			__A = 8    )							->		int:


      '''simple docstring'''



      UpperCamelCase__										=				base
      for _ in range(1      ,			__A    ):
            UpperCamelCase__										=				_modexpt(__A      ,			__A      ,			10**digits    )

      return result


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












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

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



@dataclass(frozen=__SCREAMING_SNAKE_CASE    )
class    _SCREAMING_SNAKE_CASE						(	__SCREAMING_SNAKE_CASE    ):







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

 def 							SCREAMING_SNAKE_CASE_					(self				:   Tuple       , UpperCAmelCase_				:   Union[str, Any])       ->Tuple:



   '''simple docstring'''



   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]       , UpperCAmelCase_):
     raise ValueError(F"""Column {self.label_column} is not a ClassLabel.""")
   lowerCamelCase__:      List[Any]			  =copy.deepcopy(self)
   lowerCamelCase__:      Optional[int]			  =self.label_schema.copy()
   lowerCamelCase__:      int			  =features[self.label_column]
   lowerCamelCase__:      int			  =label_schema
   return task_template







 @property
 def 							SCREAMING_SNAKE_CASE_					(self				:   Dict)       ->Dict[str, str]:



   '''simple docstring'''



   return {
       self.image_column: "image",
       self.label_column: "labels",
   }

