




from typing import TYPE_CHECKING

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


_snake_case            = {
    "configuration_trajectory_transformer": [
        "TRAJECTORY_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "TrajectoryTransformerConfig",
    ],
}

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		_snake_case            = [
		    "TRAJECTORY_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST",
		    "TrajectoryTransformerModel",
		    "TrajectoryTransformerPreTrainedModel",
		    "load_tf_weights_in_trajectory_transformer",
		]


if TYPE_CHECKING:
		from .configuration_trajectory_transformer import (
		    TRAJECTORY_TRANSFORMER_PRETRAINED_CONFIG_ARCHIVE_MAP,
		    TrajectoryTransformerConfig,
		)

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_trajectory_transformer import (
				    TRAJECTORY_TRANSFORMER_PRETRAINED_MODEL_ARCHIVE_LIST,
				    TrajectoryTransformerModel,
				    TrajectoryTransformerPreTrainedModel,
				    load_tf_weights_in_trajectory_transformer,
				)


else:
		import sys

		_snake_case            = _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)







def        lowerCAmelCase_			(  snake_case_ = 1000000  ):
      _A							:  Any    =		limit + 1
      _A							:  Tuple    =		[0] * limit
      for first_term in range(1,snake_case_  ):
            for n in range(snake_case_,snake_case_,snake_case_  ):
                  _A							:  Optional[int]    =		first_term + n / first_term
                  if common_difference % 4:  # d must be divisble by 4
                        continue
                  else:
                        common_difference /= 4
                        if (
                            first_term > common_difference
                            and first_term < 4 * common_difference
                        ):  # since x,y,z are positive integers
                              frequency[n] += 1  # so z>0 and a>d ,also 4d<a

      _A							:  List[str]    =		sum(1 for x in frequency[1:limit] if x == 10  )

      return count


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

