题目 1003
import java.util.Scanner;
public class test{
public static void main(String args[]){
Scanner ww = new Scanner(System.in);
int a=ww.nextInt();
int x,y=1;
for(x=1;x<=a;x++)
{
y=y*x;
}
System.out.print(+y);
}
}