print best solution