


from typing import Any



def       _lowerCAmelCase    (				lowerCAmelCase_				:list				)->list[Any]:
   '''simple docstring'''






   if not input_list:
      return []
   snake_case_            =       [input_list.count(lowerCAmelCase_				) for value in input_list]
   snake_case_            =       max(lowerCAmelCase_				)  # Gets the maximum count in the input list.
   # Gets values of modes
   return sorted({input_list[i] for i, value in enumerate(lowerCAmelCase_				) if value == y}				)


if __name__ == "__main__":
   import doctest

   doctest.testmod()








from __future__ import annotations



def       _lowerCAmelCase    (				lowerCAmelCase_				:int		,    lowerCAmelCase_				:int				)->list[str]:
   '''simple docstring'''






   if partitions <= 0:
      raise ValueError("partitions must be a positive number!"				)
   if partitions > number_of_bytes:
      raise ValueError("partitions can not > number_of_bytes!"				)
   snake_case_            =       number_of_bytes // partitions
   snake_case_            =       []
   for i in range(lowerCAmelCase_				):
      snake_case_            =       i * bytes_per_partition + 1
      snake_case_            =       (
          number_of_bytes if i == partitions - 1 else (i + 1) * bytes_per_partition
      )
      allocation_list.append(F'''{start_bytes}-{end_bytes}'''				)
   return allocation_list


if __name__ == "__main__":
   import doctest

   doctest.testmod()




