
'''simple docstring'''

import os

try:
		from .build_directory_md import good_file_paths
except ImportError:
		from build_directory_md import good_file_paths  # type: ignore

UpperCAmelCase__ :			Any											=		list(good_file_paths())
assert filepaths, "good_file_paths() failed!"

UpperCAmelCase__ :			Dict											=		[file for file in filepaths if file != file.lower()]
if upper_files:
		print(F"{len(upper_files)} files contain uppercase characters:")
		print("\n".join(upper_files) + "\n")

UpperCAmelCase__ :			Union[str, Any]											=		[file for file in filepaths if " " in file]
if space_files:
		print(F"{len(space_files)} files contain space characters:")
		print("\n".join(space_files) + "\n")

UpperCAmelCase__ :			Any											=		[file for file in filepaths if "-" in file]
if hyphen_files:
		print(F"{len(hyphen_files)} files contain hyphen characters:")
		print("\n".join(hyphen_files) + "\n")

UpperCAmelCase__ :			Any											=		[file for file in filepaths if os.sep not in file]
if nodir_files:
		print(F"{len(nodir_files)} files are not in a directory:")
		print("\n".join(nodir_files) + "\n")

UpperCAmelCase__ :			Optional[Any]											=		len(upper_files + space_files + hyphen_files + nodir_files)
if bad_files:
		import sys

		sys.exit(bad_files)









def 			lowerCAmelCase__					(     a__:						list			)    ->						list:


							'''simple docstring'''





							if len(a__			) < 2:
														return collection

							def circle_sort_util(a__:						list     ,    a__:						int     ,    a__:						int			) -> bool:
														_UpperCAmelCase											=     False

														if low == high:
																					return swapped

														_UpperCAmelCase											=     low
														_UpperCAmelCase											=     high

														while left < right:
																					if collection[left] > collection[right]:
																												_UpperCAmelCase						,			_UpperCAmelCase											=     (
																												    collection[right],
																												    collection[left],
																												)
																												_UpperCAmelCase											=     True

																					left += 1
																					right -= 1

														if left == right and collection[left] > collection[right + 1]:
																					_UpperCAmelCase						,			_UpperCAmelCase											=     (
																					    collection[right + 1],
																					    collection[left],
																					)

																					_UpperCAmelCase											=     True

														_UpperCAmelCase											=     low + int((high - low) / 2			)
														_UpperCAmelCase											=     circle_sort_util(a__     ,    a__     ,    a__			)
														_UpperCAmelCase											=     circle_sort_util(a__     ,    mid + 1     ,    a__			)

														return swapped or left_swap or right_swap

							_UpperCAmelCase											=     True

							while is_not_sorted is True:
														_UpperCAmelCase											=     circle_sort_util(a__     ,    0     ,    len(a__			) - 1			)

							return collection


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