


from ..utils import DummyObject, requires_backends

class 			lowerCamelCase_					(    metaclass=_SCREAMING_SNAKE_CASE    ):
							_lowerCamelCase				: List[str]       =					["""torch""", """transformers""", """k_diffusion"""]





							def __init__(							self			,       *_SCREAMING_SNAKE_CASE			,       **_SCREAMING_SNAKE_CASE    ):
								requires_backends(self			,       ["""torch""", """transformers""", """k_diffusion"""]    )





							@classmethod
							def   __magic_name__      (							cls			,       *_SCREAMING_SNAKE_CASE			,       **_SCREAMING_SNAKE_CASE    ):
								requires_backends(cls			,       ["""torch""", """transformers""", """k_diffusion"""]    )





							@classmethod
							def   __magic_name__      (							cls			,       *_SCREAMING_SNAKE_CASE			,       **_SCREAMING_SNAKE_CASE    ):
								requires_backends(cls			,       ["""torch""", """transformers""", """k_diffusion"""]    )



class 			lowerCamelCase_					:





							def __init__(							self    ):
								a_     			=   [0, 1]





							def   __magic_name__      (							self			,       _SCREAMING_SNAKE_CASE    ):
								if (difference := index - (len(self.sequence    ) - 2)) >= 1:
									for _ in range(_SCREAMING_SNAKE_CASE    ):
										self.sequence.append(self.sequence[-1] + self.sequence[-2]    )
								return self.sequence[:index]







def 			__SCREAMING_SNAKE_CASE		(		)     ->	None:



	"""simple docstring"""






	print(
	    """Fibonacci Series Using Dynamic Programming\n"""     ,					"""Enter the index of the Fibonacci number you want to calculate """     ,					"""in the prompt below. (To exit enter exit or Ctrl-C)\n"""     ,					sep=""""""     ,					)
	a_     			=   Fibonacci()

	while True:
		a_     			=   input(""">> """	)
		if prompt in {"exit", "quit"}:
			break

		try:
			a_     			=   int(UpperCamelCase	)
		except ValueError:
			print("""Enter a number or 'exit'"""	)
			continue

		print(fibonacci.get(UpperCamelCase	)	)


if __name__ == "__main__":
			main()