Prints factorial of given number