




def 	_a      (						SCREAMING_SNAKE_CASE_							:				List[str]     ):
					if not isinstance(SCREAMING_SNAKE_CASE_      ,      SCREAMING_SNAKE_CASE_     ):
										raise ValueError("check_bouncy() accepts only integer arguments"     )
					__lowerCAmelCase				   =       str(SCREAMING_SNAKE_CASE_     )
					__lowerCAmelCase				   =       ''''''.join(sorted(SCREAMING_SNAKE_CASE_     )     )
					return sorted_str_n != str_n and sorted_str_n[::-1] != str_n







def 	_a      (						SCREAMING_SNAKE_CASE_							:				Dict = 99     ):
					if not 0 < percent < 1_00:
										raise ValueError("solution() only accepts values from 0 to 100"     )
					__lowerCAmelCase				   =       0
					__lowerCAmelCase				   =       1

					while True:
										if check_bouncy(SCREAMING_SNAKE_CASE_     ):
															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(99)}''')





'''simple docstring'''

def 			__UpperCamelCase       (   UpperCAmelCase     ):
 lowercase__				:    List[str]  =					0
 while num > 0:
  digit_sum += num % 10
  num //= 10
 return digit_sum
def 			__UpperCamelCase       (   UpperCAmelCase = 100     ):
 lowercase__				:    Dict  =					1
 lowercase__				:    Optional[int]  =					2

 for i in range(2		,     max_n + 1     ):
  lowercase__				:    List[str]  =					pre_numerator
  lowercase__				:    Optional[Any]  =					2 * i // 3 if i % 3 == 0 else 1
  lowercase__				:    Union[str, Any]  =					cur_numerator
  lowercase__				:    int  =					e_cont * pre_numerator + temp

 return sum_digits(UpperCAmelCase     )


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

