def 					_snake_case	(  __snake_case  ,     __snake_case						):
					_UpperCamelCase			     =     len(__snake_case						)
					print('''The following activities are selected:'''						)

					# The first activity is always selected
					_UpperCamelCase			     =     0
					print(__snake_case  ,     end=''','''						)

					# Consider rest of the activities
					for j in range(__snake_case						):
										# If this activity has start time greater than
										# or equal to the finish time of previously
										# selected activity, then select it
										if start[j] >= finish[i]:
															print(__snake_case  ,     end=''','''						)
															_UpperCamelCase			     =     j


if __name__ == "__main__":
					import doctest

					doctest.testmod()

					_lowerCAmelCase       =		[1, 3, 0, 5, 8, 5]
					_lowerCAmelCase       =		[2, 4, 6, 7, 9, 9]
					print_max_activities(start, finish)








"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
)


_SCREAMING_SNAKE_CASE   :							List[str]          =		{}

try:
  if not is_sentencepiece_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  _SCREAMING_SNAKE_CASE   :							str          =		['''NllbTokenizer''']

try:
  if not is_tokenizers_available():
    raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
  pass
else:
  _SCREAMING_SNAKE_CASE   :							Optional[Any]          =		['''NllbTokenizerFast''']


if TYPE_CHECKING:
  try:
    if not is_sentencepiece_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .tokenization_nllb import NllbTokenizer

  try:
    if not is_tokenizers_available():
      raise OptionalDependencyNotAvailable()
  except OptionalDependencyNotAvailable:
    pass
  else:
    from .tokenization_nllb_fast import NllbTokenizerFast

else:
  import sys

  _SCREAMING_SNAKE_CASE   :							Any          =		_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)




