Compute the factorial of a large number