void main{ int i,j,s=0; for(i=1;i<=10;i++) { int a=1; for(j=1;j<=i;j++) a*=j; if(i%2==0) s-=a; else s+=a; printf("%d",s); }}