





def 	A_       (  _lowerCAmelCase  )		->				bool:
 if not isinstance(_lowerCAmelCase							,     _lowerCAmelCase  ):
  raise ValueError("check_bouncy() accepts only integer arguments"  )
 UpperCamelCase			:      Dict 			=     str(_lowerCAmelCase  )
 UpperCamelCase			:      Tuple 			=     "".join(sorted(_lowerCAmelCase  )  )
 return sorted_str_n != str_n and sorted_str_n[::-1] != str_n



def 	A_       (  _lowerCAmelCase = 99  )		->				int:
 if not 0 < percent < 100:
  raise ValueError("solution() only accepts values from 0 to 100"  )
 UpperCamelCase			:      Any 			=     0
 UpperCamelCase			:      Optional[int] 			=     1

 while True:
  if check_bouncy(_lowerCAmelCase  ):
   bouncy_num += 1
  if (bouncy_num / num) * 100 >= percent:
   return num
  num += 1


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

    testmod()
    print(f"""{solution(99)}""")







from ..utils import DummyObject, requires_backends



class       A__     ( metaclass=__snake_case    ):
      _UpperCAmelCase			:Tuple							=     ['note_seq']





      def __init__(				self ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(self ,							["note_seq"]     )





      @classmethod
      def  __UpperCamelCase(				cls ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(cls ,							["note_seq"]     )





      @classmethod
      def  __UpperCamelCase(				cls ,							*A_ ,							**A_     ):
       '''simple docstring'''




       requires_backends(cls ,							["note_seq"]     )
