
'''simple docstring'''







import inspect
import unittest


class 						__UpperCAmelCase      (					unittest.TestCase						):


							def  lowerCamelCase				(       self  ):





								"""simple docstring"""






								try:
									import diffusers  # noqa: F401
								except ImportError:
									assert False




							def  lowerCamelCase				(       self  ):





								"""simple docstring"""






								import diffusers
								from diffusers.dependency_versions_table import deps

								_snake_case   						=		inspect.getmembers(SCREAMING_SNAKE_CASE__    ,   inspect.isclass  )

								for cls_name, cls_module in all_classes:
									if "dummy_" in cls_module.__module__:
										for backend in cls_module._backends:
											if backend == "k_diffusion":
												_snake_case   						=		'''k-diffusion'''
											elif backend == "invisible_watermark":
												_snake_case   						=		'''invisible-watermark'''
											assert backend in deps, F'{backend} is not in the deps table!'








"""simple docstring"""
from typing import Any



def      __lowerCamelCase   (							a_     :		list							)			->      list[Any]:
      if not input_list:
            return []
      __SCREAMING_SNAKE_CASE   :int						=  [input_list.count(a_							) for value in input_list]
      __SCREAMING_SNAKE_CASE   :str						=  max(a_							)  # Gets the maximum count in the input list.
      # Gets values of modes
      return sorted({input_list[i] for i, value in enumerate(a_							) if value == y}							)


if __name__ == "__main__":
  import doctest

  doctest.testmod()