Generate the factorial of a given number.
Number: 7
The factorial of 7 is 5040.
Complete the following task based on the instruction and optional input provided.### Instruction:
Generate the factorial of a given number.

### Input:
Number: 7

### Output:
The factorial of 7 is 5040.