






from math import isqrt, loga






def 					lowerCamelCase__					(_UpperCAmelCase):
			SCREAMING_SNAKE_CASE							=			[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):
												SCREAMING_SNAKE_CASE							=			False

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






def 					lowerCamelCase__					(_UpperCAmelCase = 80_0800				,							_UpperCAmelCase = 80_0800):
			SCREAMING_SNAKE_CASE							=			degree * loga(_UpperCAmelCase)
			SCREAMING_SNAKE_CASE							=			int(_UpperCAmelCase)
			SCREAMING_SNAKE_CASE							=			calculate_prime_numbers(_UpperCAmelCase)

			SCREAMING_SNAKE_CASE							=			0
			SCREAMING_SNAKE_CASE							=			0
			SCREAMING_SNAKE_CASE							=			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() = }""")






"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


_A     :			Optional[Any]  						=			{
    """configuration_bridgetower""": [
        """BRIDGETOWER_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """BridgeTowerConfig""",
        """BridgeTowerTextConfig""",
        """BridgeTowerVisionConfig""",
    ],
    """processing_bridgetower""": ["""BridgeTowerProcessor"""],
}

try:
   if not is_vision_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   _A     :			Any  						=			["""BridgeTowerImageProcessor"""]

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   _A     :			List[Any]  						=			[
       """BRIDGETOWER_PRETRAINED_MODEL_ARCHIVE_LIST""",
       """BridgeTowerForContrastiveLearning""",
       """BridgeTowerForImageAndTextRetrieval""",
       """BridgeTowerForMaskedLM""",
       """BridgeTowerModel""",
       """BridgeTowerPreTrainedModel""",
   ]


if TYPE_CHECKING:
   from .configuration_bridgetower import (
       BRIDGETOWER_PRETRAINED_CONFIG_ARCHIVE_MAP,
       BridgeTowerConfig,
       BridgeTowerTextConfig,
       BridgeTowerVisionConfig,
   )
   from .processing_bridgetower import BridgeTowerProcessor

   try:
      if not is_vision_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .image_processing_bridgetower import BridgeTowerImageProcessor

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_bridgetower import (
          BRIDGETOWER_PRETRAINED_MODEL_ARCHIVE_LIST,
          BridgeTowerForContrastiveLearning,
          BridgeTowerForImageAndTextRetrieval,
          BridgeTowerForMaskedLM,
          BridgeTowerModel,
          BridgeTowerPreTrainedModel,
      )


else:
   import sys

   _A     :			Any  						=			_LazyModule(__name__, globals()["""__file__"""], _import_structure)


