





import math






def       _A  (      lowerCamelCase							, lowerCamelCase   ):
   a__	:						Optional[Any]      		=  len(lowerCamelCase   )
   a__	:						int      		=  int(math.floor(math.sqrt(lowerCamelCase   )   )   )
   a__	:						str      		=  0
   while arr[min(lowerCamelCase							, lowerCamelCase   ) - 1] < x:
      a__	:						Dict      		=  step
      step += int(math.floor(math.sqrt(lowerCamelCase   )   )   )
      if prev >= n:
         return -1

   while arr[prev] < x:
      a__	:						List[Any]      		=  prev + 1
      if prev == min(lowerCamelCase							, lowerCamelCase   ):
         return -1
   if arr[prev] == x:
      return prev
   return -1


if __name__ == "__main__":
  SCREAMING_SNAKE_CASE__       :			Optional[int]			      =						input("""Enter numbers separated by a comma:\n""").strip()
  SCREAMING_SNAKE_CASE__       :			Union[str, Any]			      =						[int(item) for item in user_input.split(""",""")]
  SCREAMING_SNAKE_CASE__       :			Optional[int]			      =						int(input("""Enter the number to be searched:\n"""))
  SCREAMING_SNAKE_CASE__       :			Any			      =						jump_search(arr, x)
  if res == -1:
    print("""Number not found!""")
  else:
    print(f'Number {x} is at index {res}')








import copy

from ...configuration_utils import PretrainedConfig
from ...utils import logging
from ..auto.configuration_auto import CONFIG_MAPPING


SCREAMING_SNAKE_CASE__       :			int			      =						logging.get_logger(__name__)







class   __lowerCAmelCase			(					_UpperCamelCase  ):
   _UpperCamelCase :						int     		=				"""upernet"""





   def __init__( self					,			snake_case=None					,			snake_case=512					,			snake_case=0.02					,			snake_case=[1, 2, 3, 6]					,			snake_case=True					,			snake_case=0.4					,			snake_case=384					,			snake_case=256					,			snake_case=1					,			snake_case=False					,			snake_case=255					,			**snake_case					,			)				->  Optional[Any]:
      """simple docstring"""





      super().__init__(**snake_case      )

      if backbone_config is None:
         logger.info("`backbone_config` is `None`. Initializing the config with the default `ResNet` backbone."      )
         a__	:						List[str]      		=  CONFIG_MAPPING["resnet"](out_features=["stage1", "stage2", "stage3", "stage4"]      )
      elif isinstance(snake_case					,			snake_case      ):
         a__	:						Optional[int]      		=  backbone_config.get("model_type"      )
         a__	:						str      		=  CONFIG_MAPPING[backbone_model_type]
         a__	:						str      		=  config_class.from_dict(snake_case      )

      a__	:						int      		=  backbone_config
      a__	:						Optional[Any]      		=  hidden_size
      a__	:						Optional[Any]      		=  initializer_range
      a__	:						Tuple      		=  pool_scales
      a__	:						Optional[Any]      		=  use_auxiliary_head
      a__	:						Optional[Any]      		=  auxiliary_loss_weight
      a__	:						Dict      		=  auxiliary_in_channels
      a__	:						Optional[int]      		=  auxiliary_channels
      a__	:						Any      		=  auxiliary_num_convs
      a__	:						Any      		=  auxiliary_concat_input
      a__	:						int      		=  loss_ignore_index





   def 	_snake_case ( self      )				->  str:
      """simple docstring"""





      a__	:						Tuple      		=  copy.deepcopy(self.__dict__      )
      a__	:						Optional[Any]      		=  self.backbone_config.to_dict()
      a__	:						List[Any]      		=  self.__class__.model_type
      return output

