import java.util.*;
import java.math.*;
public class CaculatorLnN {
public static void main(String[] args) {
// TODO 自動生成的方法存根
int N;
System.out.println("please input N");
Scanner in=new Scanner(System.in);
N=in.nextInt();
double ln;
factorial fac=new factorial();
int factor=fac.factorial(N);
System.out.println(ln=Math.log(N));
}
}
class factorial{
static int one=1;
public static int factorial(int N){
if(N<0){
System.out.println("請輸入正確的整數");
return -1;
}
if(N==1||N==0){
return one;
}
return factorial(N-2)*factorial(N-1);
}
}