





import math



def        __lowercase       (				_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     )			->       int:


      '''simple docstring'''


      SCREAMING_SNAKE_CASE		=						len(_SCREAMING_SNAKE_CASE     )
      SCREAMING_SNAKE_CASE		=						int(math.floor(math.sqrt(_SCREAMING_SNAKE_CASE     )     )     )
      SCREAMING_SNAKE_CASE		=						0
      while arr[min(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ) - 1] < x:
            SCREAMING_SNAKE_CASE		=						step
            step += int(math.floor(math.sqrt(_SCREAMING_SNAKE_CASE     )     )     )
            if prev >= n:
                  return -1

      while arr[prev] < x:
            SCREAMING_SNAKE_CASE		=						prev + 1
            if prev == min(_SCREAMING_SNAKE_CASE			,						_SCREAMING_SNAKE_CASE     ):
                  return -1
      if arr[prev] == x:
            return prev
      return -1


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









from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE_						       =	{
    """configuration_megatron_bert""": ["""MEGATRON_BERT_PRETRAINED_CONFIG_ARCHIVE_MAP""", """MegatronBertConfig"""],
}

try:
      if not is_torch_available():
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      pass
else:
      SCREAMING_SNAKE_CASE_						       =	[
          """MEGATRON_BERT_PRETRAINED_MODEL_ARCHIVE_LIST""",
          """MegatronBertForCausalLM""",
          """MegatronBertForMaskedLM""",
          """MegatronBertForMultipleChoice""",
          """MegatronBertForNextSentencePrediction""",
          """MegatronBertForPreTraining""",
          """MegatronBertForQuestionAnswering""",
          """MegatronBertForSequenceClassification""",
          """MegatronBertForTokenClassification""",
          """MegatronBertModel""",
          """MegatronBertPreTrainedModel""",
      ]

if TYPE_CHECKING:
      from .configuration_megatron_bert import MEGATRON_BERT_PRETRAINED_CONFIG_ARCHIVE_MAP, MegatronBertConfig

      try:
            if not is_torch_available():
                  raise OptionalDependencyNotAvailable()
      except OptionalDependencyNotAvailable:
            pass
      else:
            from .modeling_megatron_bert import (
                MEGATRON_BERT_PRETRAINED_MODEL_ARCHIVE_LIST,
                MegatronBertForCausalLM,
                MegatronBertForMaskedLM,
                MegatronBertForMultipleChoice,
                MegatronBertForNextSentencePrediction,
                MegatronBertForPreTraining,
                MegatronBertForQuestionAnswering,
                MegatronBertForSequenceClassification,
                MegatronBertForTokenClassification,
                MegatronBertModel,
                MegatronBertPreTrainedModel,
            )

else:
      import sys

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


