

'''simple docstring'''





def    A_  (							a  ):

      """simple docstring"""



      SCREAMING_SNAKE_CASE_				:  Dict           =     [1]

      SCREAMING_SNAKE_CASE_       ,						SCREAMING_SNAKE_CASE_       ,						SCREAMING_SNAKE_CASE_				:  List[Any]           =     0, 0, 0
      SCREAMING_SNAKE_CASE_				:  int           =     ugly_nums[ia] * 2
      SCREAMING_SNAKE_CASE_				:  List[Any]           =     ugly_nums[ia] * 3
      SCREAMING_SNAKE_CASE_				:  Dict           =     ugly_nums[ia] * 5

      for _ in range(1					,   _A  ):
            SCREAMING_SNAKE_CASE_				:  str           =     min(_A					,   _A					,   _A  )
            ugly_nums.append(_A  )
            if next_num == next_a:
                  ia += 1
                  SCREAMING_SNAKE_CASE_				:  Any           =     ugly_nums[ia] * 2
            if next_num == next_a:
                  ia += 1
                  SCREAMING_SNAKE_CASE_				:  Tuple           =     ugly_nums[ia] * 3
            if next_num == next_a:
                  ia += 1
                  SCREAMING_SNAKE_CASE_				:  Any           =     ugly_nums[ia] * 5
      return ugly_nums[-1]


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

    testmod(verbose=True)
    print(F'{ugly_numbers(2_00) = }')









def    A_  (							a					,   a  ):

      """simple docstring"""



      return numa ^ numa < 0


if __name__ == "__main__":
    import doctest

    doctest.testmod()






