*a="?y�¦Ëp%`á7Oí9Mû#";x;main(long n){scanf("%ld",&n);for(n<1e9+7?x=a[5-n/' ï!­']:0;n%' ï!­';)x=x*n--%';šÊ';printf("%d",x);}