






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

from ..features import Audio, Features, Value
from .base import TaskTemplate







@dataclass(frozen=_A		)
class 	_UpperCAmelCase  (  _A		):




      """simple docstring"""



      A          =    field(default='''automatic-speech-recognition'''				,							metadata={'''include_in_asdict_even_if_is_default''': True}		)
      A          =    Features({'''audio''': Audio()}		)
      A          =    Features({'''transcription''': Value('''string'''		)}		)
      A          =    "audio"
      A          =    "transcription"
      def 			snake_case_      (   self    ,	_lowerCAmelCase		):



          '''simple docstring'''
          if self.audio_column not in features:
              raise ValueError(f'''Column {self.audio_column} is not present in features.'''		)
          if not isinstance(features[self.audio_column]    ,	_lowerCAmelCase		):
              raise ValueError(f'''Column {self.audio_column} is not an Audio type.'''		)
          lowerCAmelCase__   :int      							=				copy.deepcopy(self		)
          lowerCAmelCase__   :List[Any]      							=				self.input_schema.copy()
          lowerCAmelCase__   :Optional[int]      							=				features[self.audio_column]
          lowerCAmelCase__   :Optional[int]      							=				input_schema
          return task_template



      @property
      def 			snake_case_      (   self		):



          '''simple docstring'''
          return {self.audio_column: "audio", self.transcription_column: "transcription"}











from math import isqrt, loga


def 				snake_case__							(							UpperCAmelCase							:  int       ):
    lowerCAmelCase__   :Optional[int]      							=				[True] * max_number
    for i in range(2    ,			isqrt(max_number - 1       ) + 1       ):
        if is_prime[i]:
            for j in range(i**2    ,			UpperCAmelCase    ,			UpperCAmelCase       ):
                lowerCAmelCase__   :int      							=				False

    return [i for i in range(2    ,			UpperCAmelCase       ) if is_prime[i]]


def 				snake_case__							(							UpperCAmelCase							:  int = 8_0_0_8_0_0    ,			UpperCAmelCase							:  int = 8_0_0_8_0_0       ):
    lowerCAmelCase__   :str      							=				degree * loga(UpperCAmelCase       )
    lowerCAmelCase__   :Any      							=				int(UpperCAmelCase       )
    lowerCAmelCase__   :List[Any]      							=				calculate_prime_numbers(UpperCAmelCase       )

    lowerCAmelCase__   :List[str]      							=				0
    lowerCAmelCase__   :List[str]      							=				0
    lowerCAmelCase__   :Optional[Any]      							=				len(UpperCAmelCase       ) - 1
    while left < right:
        while (
            prime_numbers[right] * loga(prime_numbers[left]       )
            + prime_numbers[left] * loga(prime_numbers[right]       )
            > upper_bound
        ):
            right -= 1
        hybrid_integers_count += right - left
        left += 1

    return hybrid_integers_count


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



