Small factorial solution.