Factorial Calculator

Calculate n! for any whole number, with full precision using arbitrary-precision arithmetic — no rounding errors even for large results.

10! — 7 digits

3628800

Example input

10

Example output

3628800