def 	__A		(      _A       ):



 """simple docstring"""


 if not all(char in "01" for char in bin_string       ):
  raise ValueError("Non-binary value was passed to the function"       )
 if not bin_string:
  raise ValueError("Empty string was passed to the function"       )
 __a							=	""
 while len(_A       ) % 3 != 0:
  __a							=	"0" + bin_string
 __a							=	[
     bin_string[index : index + 3]
     for index in range(len(_A       )       )
     if index % 3 == 0
 ]
 for bin_group in bin_string_in_3_list:
  __a							=	0
  for index, val in enumerate(_A       ):
   oct_val += int(2 ** (2 - index) * int(_A       )       )
  oct_string += str(_A       )
 return oct_string


if __name__ == "__main__":
  from doctest import testmod

  testmod()



from typing import Any



def 	__A		(      _A       ):



 """simple docstring"""


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


