#t41. 计算阶乘

计算阶乘

Factorial

Problem Description

Given a positive integer nn, compute and output the value of 1×2×3×⋯×n1 \times 2 \times 3 \times \dots \times n.

(Terminology: the factorial is the product of all integers from 11 to nn, denoted by n!n!.)

Input Format

One integer nn.

Output Format

One integer: the value of 1×2×3×⋯×n1 \times 2 \times 3 \times \dots \times n.

Sample Input

3

Sample Output

6

Constraints

1≤n≤101 \le n \le 10