


'''simple docstring'''
def 					a__       (					lowerCAmelCase__						)    ->	bool:
    if not isinstance(__UpperCAmelCase  ,					__UpperCAmelCase						):
        raise ValueError('''check_bouncy() accepts only integer arguments'''						)
    UpperCAmelCase__			:		str													=				str(__UpperCAmelCase						)
    UpperCAmelCase__			:		Tuple													=				''''''.join(sorted(__UpperCAmelCase						)						)
    return sorted_str_n != str_n and sorted_str_n[::-1] != str_n





def 					a__       (					lowerCAmelCase__ = 99						)    ->	int:
    if not 0 < percent < 1_00:
        raise ValueError('''solution() only accepts values from 0 to 100'''						)
    UpperCAmelCase__			:		Union[str, Any]													=				0
    UpperCAmelCase__			:		Tuple													=				1

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


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

  testmod()
  print(F"""{solution(9_9)}""")

"""simple docstring"""






def SCREAMING_SNAKE_CASE__			(   __UpperCAmelCase=2_8_1_2_3 )  ->  Any:
   lowercase__:   Optional[Any]					=      [1] * (limit + 1)

   for i in range(2       ,    int(limit**0.5 ) + 1 ):
      sum_divs[i * i] += i
      for k in range(i + 1       ,    limit // i + 1 ):
         sum_divs[k * i] += k + i

   lowercase__:   Union[str, Any]					=      set()
   lowercase__:   Optional[Any]					=      0

   for n in range(1       ,    limit + 1 ):
      if sum_divs[n] > n:
         abundants.add(__UpperCAmelCase )

      if not any((n - a in abundants) for a in abundants ):
         res += n

   return res


if __name__ == "__main__":
       print(solution())
