




def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       list     ):


      '''simple docstring'''



      if not isinstance(lowerCAmelCase__	,							lowerCAmelCase__     ):
            raise ValueError('Input series is not valid, valid series - [2, 4, 6]'     )
      if len(lowerCAmelCase__     ) == 0:
            raise ValueError('Input list must be a non empty list'     )
      if len(lowerCAmelCase__     ) == 1:
            return True
      lowerCamelCase_		     =    series[1] - series[0]
      for index in range(len(lowerCAmelCase__     ) - 1     ):
            if series[index + 1] - series[index] != common_diff:
                  return False
      return True

def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       list     ):


      '''simple docstring'''



      if not isinstance(lowerCAmelCase__	,							lowerCAmelCase__     ):
            raise ValueError('Input series is not valid, valid series - [2, 4, 6]'     )
      if len(lowerCAmelCase__     ) == 0:
            raise ValueError('Input list must be a non empty list'     )
      lowerCamelCase_		     =    0
      for val in series:
            answer += val
      return answer / len(lowerCAmelCase__     )


if __name__ == "__main__":
 import doctest

 doctest.testmod()







"""simple docstring"""




import math

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

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


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






