code: 
  
  
  
  
  
  '''simple docstring'''
  
  import math
  
  
  
  
  
  def 		UpperCamelCase       (							_lowerCamelCase      :      int ):
  
      if 1 < number < 4:
          # 2 and 3 are primes
          return True
      elif number < 2 or number % 2 == 0 or number % 3 == 0:
          # Negatives, 0, 1, all even numbers, all multiples of 3 are not primes
          return False
  
      # All primes number are in format of 6k +/- 1
      for i in range(5		, int(math.sqrt(_lowerCamelCase ) + 1 )		, 6 ):
          if number % i == 0 or number % (i + 2) == 0:
              return False
      return True
  
  
  
  
  
  def 		UpperCamelCase       (							_lowerCamelCase      :      int = 60_08_51_47_51_43 ):
  
      try:
          A__       =    int(_lowerCamelCase )
      except (TypeError, ValueError):
          raise TypeError("Parameter n must be int or castable to int." )
      if n <= 0:
          raise ValueError("Parameter n must be greater than or equal to one." )
      A__       =    0
      if is_prime(_lowerCamelCase ):
          return n
      while n % 2 == 0:
          n //= 2
      if is_prime(_lowerCamelCase ):
          return n
      for i in range(3		, int(math.sqrt(_lowerCamelCase ) ) + 1		, 2 ):
          if n % i == 0:
              if is_prime(n // i ):
                  A__       =    n // i
                  break
              elif is_prime(_lowerCamelCase ):
                  A__       =    i
      return max_number
  
  
  if __name__ == "__main__":
    print(f"""{solution() = }""")
  
  
  
  
style_context: 
  
  
  
  
  
  '''simple docstring'''
  
  from typing import TYPE_CHECKING
  
  from ...utils import (
      OptionalDependencyNotAvailable,
      _LazyModule,
      is_tf_available,
      is_tokenizers_available,
      is_torch_available,
  )
  
  
  __lowerCAmelCase							:			int				={
      "configuration_layoutlm": ["LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP", "LayoutLMConfig", "LayoutLMOnnxConfig"],
      "tokenization_layoutlm": ["LayoutLMTokenizer"],
  }
  
  try:
    if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    __lowerCAmelCase							:			Any				=["LayoutLMTokenizerFast"]
  
  try:
    if not is_torch_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    __lowerCAmelCase							:			Dict				=[
        "LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST",
        "LayoutLMForMaskedLM",
        "LayoutLMForSequenceClassification",
        "LayoutLMForTokenClassification",
        "LayoutLMForQuestionAnswering",
        "LayoutLMModel",
        "LayoutLMPreTrainedModel",
    ]
  
  try:
    if not is_tf_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    __lowerCAmelCase							:			str				=[
        "TF_LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST",
        "TFLayoutLMForMaskedLM",
        "TFLayoutLMForSequenceClassification",
        "TFLayoutLMForTokenClassification",
        "TFLayoutLMForQuestionAnswering",
        "TFLayoutLMMainLayer",
        "TFLayoutLMModel",
        "TFLayoutLMPreTrainedModel",
    ]
  
  
  if TYPE_CHECKING:
    from .configuration_layoutlm import LAYOUTLM_PRETRAINED_CONFIG_ARCHIVE_MAP, LayoutLMConfig, LayoutLMOnnxConfig
    from .tokenization_layoutlm import LayoutLMTokenizer
  
    try:
      if not is_tokenizers_available():
        raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
      pass
    else:
      from .tokenization_layoutlm_fast import LayoutLMTokenizerFast
  
    try:
      if not is_torch_available():
        raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
      pass
    else:
      from .modeling_layoutlm import (
          LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST,
          LayoutLMForMaskedLM,
          LayoutLMForQuestionAnswering,
          LayoutLMForSequenceClassification,
          LayoutLMForTokenClassification,
          LayoutLMModel,
          LayoutLMPreTrainedModel,
      )
    try:
      if not is_tf_available():
        raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
      pass
    else:
      from .modeling_tf_layoutlm import (
          TF_LAYOUTLM_PRETRAINED_MODEL_ARCHIVE_LIST,
          TFLayoutLMForMaskedLM,
          TFLayoutLMForQuestionAnswering,
          TFLayoutLMForSequenceClassification,
          TFLayoutLMForTokenClassification,
          TFLayoutLMMainLayer,
          TFLayoutLMModel,
          TFLayoutLMPreTrainedModel,
      )
  
  else:
    import sys
  
    __lowerCAmelCase							:			int				=_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)
  
  
  
  