#K61757. Bacteria Cells Multiplication

    ID: 31380 Type: Default 1000ms 256MiB

Bacteria Cells Multiplication

Bacteria Cells Multiplication

In this problem, you are given a single integer h representing the number of hours. Initially, there is one bacteria cell. At the end of the h-th hour, the total number of bacteria cells is given by the factorial of (h + 1), i.e. $$ f(h) = (h+1)! $$.

Your task is to write a program that reads an integer h from standard input and outputs the total number of bacteria cells at the end of that hour.

inputFormat

The input consists of a single integer h (0 ≤ h). This integer is provided via standard input.

outputFormat

Output the total number of bacteria cells after h hours. The result is the value of (h+1)! and should be printed to standard output.## sample

0
1