n;main(){n=scanf("%d",&n)>printf("%f",n*(n-1)*(n-2)*(n-3)/715231440.*(n-4));}