





def      A__				(       SCREAMING_SNAKE_CASE__ = 1000)  ->       int:
  __snake_case:		Any					    =		0
  __snake_case:		Union[str, Any]					    =		(n - 1) // 3
  total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
  __snake_case:		Optional[int]					    =		(n - 1) // 5
  total += ((terms) * (10 + (terms - 1) * 5)) // 2
  __snake_case:		Optional[int]					    =		(n - 1) // 15
  total -= ((terms) * (30 + (terms - 1) * 15)) // 2
  return total


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













from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__UpperCAmelCase			:  Optional[Any]										=				{"configuration_sew_d": ["SEW_D_PRETRAINED_CONFIG_ARCHIVE_MAP", "SEWDConfig"]}

try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      __UpperCAmelCase			:  str										=				[
          "SEW_D_PRETRAINED_MODEL_ARCHIVE_LIST",
          "SEWDForCTC",
          "SEWDForSequenceClassification",
          "SEWDModel",
          "SEWDPreTrainedModel",
      ]

if TYPE_CHECKING:
      from .configuration_sew_d import SEW_D_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWDConfig

      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_sew_d import (
                SEW_D_PRETRAINED_MODEL_ARCHIVE_LIST,
                SEWDForCTC,
                SEWDForSequenceClassification,
                SEWDModel,
                SEWDPreTrainedModel,
            )


else:
      import sys

      __UpperCAmelCase			:  Union[str, Any]										=				_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)






