Solve Recycled Numbers (for the small input only)