






"""simple docstring"""





from __future__ import annotations

UpperCamelCase_						:					Any      				=			"""Alexander Joslin"""



def      __lowercase       (     a			:					Union[str, Any]			)       ->       Dict:

      if number <= 0:
            __snake_case   :     Optional[Any]	      =f'''n must be greater than 0. Got n = {number}'''
            raise ValueError(SCREAMING_SNAKE_CASE_			)

      __snake_case   :     int	      =[number + 1] * (number + 1)

      # starting position
      __snake_case   :     str	      =0
      for i in range(1							,		SCREAMING_SNAKE_CASE_			):
            __snake_case   :     int	      =min(table[i + 1]							,		table[i] + 1			)
            # check if out of bounds
            if i * 2 <= number:
                  __snake_case   :     List[str]	      =min(table[i * 2]							,		table[i] + 1			)
            # check if out of bounds
            if i * 3 <= number:
                  __snake_case   :     Any	      =min(table[i * 3]							,		table[i] + 1			)
      return table[number]


if __name__ == "__main__":
    import doctest

    doctest.testmod()



'''simple docstring'''




_A										= '\n# Transformers installation\n! pip install transformers datasets\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/transformers.git\n'

_A										= [{'type': 'code', 'content': INSTALL_CONTENT}]
_A										= {
    '{processor_class}': 'FakeProcessorClass',
    '{model_class}': 'FakeModelClass',
    '{object_class}': 'FakeObjectClass',
}




