Fast Factorial Calculator 3
View as PDFho94949 is in a good mood today. He discovered a secret method to compute large factorials very quickly. Can you beat him?
Input Specification
The first and only line of input contains two positive integers,  and 
.
You may assume , and that 
 is prime.
Output Specification
Print .
Sample Input
9999999966 9999999967
Sample Output
9999999966
Comments
Fast Factorial Calculator 4 when?
fast factorial calculation great