





'''simple docstring'''


from urllib.parse import quote

import pytest

from datasets.utils.hub import hf_hub_url
@pytest.mark.parametrize("repo_id"     ,["canonical_dataset_name", "org-name/dataset-name"]			)
@pytest.mark.parametrize("path"     ,["filename.csv", "filename with blanks.csv"]			)
@pytest.mark.parametrize("revision"     ,[None, "v2"]			)
def 							UpperCAmelCase_  (						__lowerCamelCase : Tuple     ,__lowerCamelCase : Any     ,__lowerCamelCase : Tuple			):
   lowercase_      :Tuple         =			hf_hub_url(repo_id=__lowerCamelCase     ,path=__lowerCamelCase     ,revision=__lowerCamelCase			)
   assert url == F'https://huggingface.co/datasets/{repo_id}/resolve/{revision or "main"}/{quote(__lowerCamelCase			)}'









'''simple docstring'''


def 							UpperCAmelCase_  (						__lowerCamelCase : list			):
   if len(__lowerCamelCase			) <= 1:
      return lst

   lowercase_      :Optional[Any]         =			1

   while i < len(__lowerCamelCase			):
      if lst[i - 1] <= lst[i]:
         i += 1
      else:
         lowercase_      ,							lowercase_      :int         =			lst[i], lst[i - 1]
         i -= 1
         if i == 0:
            lowercase_      :Dict         =			1

   return lst


if __name__ == "__main__":
 lowerCAmelCase :					Any 							=input('''Enter numbers separated by a comma:\n''').strip()
 lowerCAmelCase :					List[str] 							=[int(item) for item in user_input.split(''',''')]
 print(gnome_sort(unsorted))


