eolymp
bolt
Try our new interface for solving problems
Problems

The number of permutations

The number of permutations

Time limit 1 second
Memory limit 128 MiB

Given an integer n, find the number of different permutations of numbers from 1 to n.

Input data

One integer n\:(1 \le n \le 12).

Output data

Print the number of different permutations of numbers from 1 to n.

Examples

Input example #1
3
Output example #1
6