#include <stdio.h>
prod();
main(){int n=0; scanf("%d",&n); printf("%d",prod(n));}
prod(int c){ int y; if (c<1) return (1); y=c*prod(--c); return y;}
谢谢啦,果然是高手亚!