


"""simple docstring"""






def       A_   (   _lowerCAmelCase     :					int       ):






     """simple docstring"""

     _a    	=				n ** (1 / 3)
     return (val * val * val) == n


if __name__ == "__main__":
   print(perfect_cube(27))
   print(perfect_cube(4))



"""simple docstring"""






from typing import Any
def       A_   (   _lowerCAmelCase     :					list       ):






     """simple docstring"""

     if not input_list:
          return []
     _a    	=				[input_list.count(_lowerCAmelCase       ) for value in input_list]
     _a    	=				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()