



"""simple docstring"""







def     UpperCamelCase_   (   lowerCAmelCase__				:    int						)						->       bool:

  """simple docstring"""




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

def     UpperCamelCase_   (   lowerCAmelCase__				:    float = 99						)						->       int:

  """simple docstring"""




  if not 0 < percent < 100:
    raise ValueError('solution() only accepts values from 0 to 100'						)
  lowerCAmelCase_       :    List[str]								=			0
  lowerCAmelCase_       :    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(9_9)}')










"""simple docstring"""







from __future__ import annotations

def     UpperCamelCase_   (   lowerCAmelCase__				:    int						)						->       list[int]:

  """simple docstring"""




  lowerCAmelCase_       :    Any								=			2
  lowerCAmelCase_       :    List[Any]								=			[]
  while i * i <= n:
    if n % i:
      i += 1
    else:
      n //= i
      factors.append(lowerCAmelCase__						)
  if n > 1:
    factors.append(lowerCAmelCase__						)
  return factors


if __name__ == "__main__":
     import doctest

     doctest.testmod()





