Submit solution
Points:
0.01
Time limit:
1.0s
Memory limit:
64M
Input:
stdin
Output:
stdout
Authors:
Problem type
Cho 1 số nguyên n (Với 1≤n≤10). Tính n! - n giai thừa.
Input
Dòng đầu tiên có chứa 1 số nguyên n (Với 1≤n≤10).
Output
Một dòng duy nhất là 1 số là n!
Examples
Input
1
Output
1
Input
2
Output
2
Input
3
Output
6
Comments