



def  lowercase    (				SCREAMING_SNAKE_CASE__    :		int			,    SCREAMING_SNAKE_CASE__    :		Optional[int]			)					->       int:
 sequence.append(SCREAMING_SNAKE_CASE__			)

 _snake_case      :					Union[str, Any]					=   0
 while sequence[index] != target:
  index += 1

 sequence.pop()

 if index == len(SCREAMING_SNAKE_CASE__			):
  return None

 return index


if __name__ == "__main__":
  a__      =		input("""Enter numbers separated by comma:\n""").strip()
  a__      =		[int(item) for item in user_input.split(""",""")]

  a__      =		input("""Enter a single number to be found in the list:\n""")
  a__      =		int(target_input)
  a__      =		sentinel_linear_search(sequence, target)
  if result is not None:
    print(F'''{target} found at positions: {result}''')
  else:
    print("""Not found""")





def  lowercase    (				SCREAMING_SNAKE_CASE__    :		int			)					->       int:
 if not isinstance(SCREAMING_SNAKE_CASE__			,    SCREAMING_SNAKE_CASE__			):
  raise TypeError("""recursive_lucas_number accepts only integer arguments."""			)
 if n_th_number == 0:
  return 2
 if n_th_number == 1:
  return 1

 return recursive_lucas_number(n_th_number - 1			) + recursive_lucas_number(
     n_th_number - 2			)



def  lowercase    (				SCREAMING_SNAKE_CASE__    :		int			)					->       int:
 if not isinstance(SCREAMING_SNAKE_CASE__			,    SCREAMING_SNAKE_CASE__			):
  raise TypeError("""dynamic_lucas_number accepts only integer arguments."""			)
 _snake_case		,      _snake_case      :					Any					=   2, 1
 for _ in range(SCREAMING_SNAKE_CASE__			):
  _snake_case		,      _snake_case      :					Union[str, Any]					=   b, a + b
 return a


if __name__ == "__main__":
  from doctest import testmod

  testmod()
  a__      =		int(input("""Enter the number of terms in lucas series:\n""").strip())
  print("""Using recursive function to calculate lucas series:""")
  print(""" """.join(str(recursive_lucas_number(i)) for i in range(n)))
  print("""\nUsing dynamic function to calculate lucas series:""")
  print(""" """.join(str(dynamic_lucas_number(i)) for i in range(n)))
