One day, ZhouZhenTao and XiangRunYe were playing games. Xiang said to Zhou: I literally said a number N, if you can calculate the factorial of N in 1 seconds, I will just admire you in ZUFE from now on! Now Zhou wants to totally defeat Xiang, but he can’t calculate the answer soon, so please to help him solve the problem.
输入格式
Have multiple sets of test data, input an integer N in each test data.
输出格式
For each set of test data, output an integer, means the factorial of N.