Under construction

Still being built. Things may change

Factorial 2

Interview

Time limit1sMemory limit1024 MB

Summary
Given an integer N from 0 to 20, the task is to print N factorial.
Level

Easy1 of 10

Topics
Math, Implementation
Solved
No attempts yet

Problem

An integer N greater than or equal to 0 is given. Write a program that prints N!.

Input

The first line contains an integer N (0 ≤ N ≤ 20).

Output

Print N! on the first line.

Examples2

  1. Example 1

    Input
    10
    
    Expected output
    3628800
    
  2. Example 2

    Input
    0
    
    Expected output
    1