#include
#include
{
int i,x;
int s1=0;
int s2=0;
printf("Input 10 integers.\n");
for(i=0;i<10;i++)
{
scanf("%d",&x);
if(x>0) s1+=x;
if(x<0) s2+=x;
}
printf("\nzhengshu=%d,fushu=%d,all=%d\n",s1,s2,s1+s2);
}