





def 				__lowerCAmelCase(       _SCREAMING_SNAKE_CASE				)							-> bool:




    """simple docstring"""




    if not isinstance(_SCREAMING_SNAKE_CASE							,     _SCREAMING_SNAKE_CASE				):
        raise ValueError('check_bouncy() accepts only integer arguments'				)
    _A     =							str(_SCREAMING_SNAKE_CASE				)
    _A     =							''.join(sorted(_SCREAMING_SNAKE_CASE				)				)
    return sorted_str_n != str_n and sorted_str_n[::-1] != str_n





def 				__lowerCAmelCase(       _SCREAMING_SNAKE_CASE = 99				)							-> int:




    """simple docstring"""




    if not 0 < percent < 100:
        raise ValueError('solution() only accepts values from 0 to 100'				)
    _A     =							0
    _A     =							1

    while True:
        if check_bouncy(_SCREAMING_SNAKE_CASE				):
            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)}")













def       _SCREAMING_SNAKE_CASE (							__snake_case = 1_0_0_0 )				->						int:
       _UpperCAmelCase	,			_UpperCAmelCase							=    1, 1
       _UpperCAmelCase							=    []
       for i in range(1   ,      n + 1 ):
              _UpperCAmelCase							=    prev_numerator + 2 * prev_denominator
              _UpperCAmelCase							=    prev_numerator + prev_denominator
              if len(str(__snake_case ) ) > len(str(__snake_case ) ):
                     result.append(__snake_case )
              _UpperCAmelCase							=    numerator
              _UpperCAmelCase							=    denominator

       return len(__snake_case )


if __name__ == "__main__":
  print(F"{solution() = }")