public class factorial {
	public static void main(String[] args) {
	    //计算公式:n!=n*(n-1)!
	    int num =1;
	    for (int i =1; i <=10; i++){
	        num=num*i;
	    }
	    System.out.println("10!="+num);
	
	}
}