#abc055b. [abc055_b]Training Camp

[abc055_b]Training Camp

Problem Statement

Snuke loves working out. He is now exercising NN times.

Before he starts exercising, his power is 11. After he exercises for the ii-th time, his power gets multiplied by ii.

Find Snuke's power after he exercises NN times. Since the answer can be extremely large, print the answer modulo 109+710^{9}+7.

Constraints

  • 1N1051 ≤ N ≤ 10^{5}

Input

The input is given from Standard Input in the following format:

NN

Output

Print the answer modulo 109+710^{9}+7.


Sample Input 1

Sample Output 1

  • After Snuke exercises for the first time, his power gets multiplied by 11 and becomes 11.
  • After Snuke exercises for the second time, his power gets multiplied by 22 and becomes 22.
  • After Snuke exercises for the third time, his power gets multiplied by 33 and becomes 66.

Sample Input 2

10

Sample Output 2

3628800

Sample Input 3

100000

Sample Output 3

457992974

Print the answer modulo 109+710^{9}+7.