#C3028. Factorial Computation

    ID: 46410 Type: Default 1000ms 256MiB

Factorial Computation

Factorial Computation

Given a positive integer \(N\) where \(1 \leq N \leq 15\), compute its factorial.

The factorial of \(N\) is defined as:

\[ N! = 1 \times 2 \times \cdots \times N \]

You will be given the integer via stdin. Output the computed factorial to stdout.

inputFormat

A single integer (N) ((1 \leq N \leq 15)) provided via standard input.

outputFormat

A single integer representing the factorial of (N) printed to standard output.## sample

1
1