#include <stdio.h>
main()
{
  int i,n,sum1,sum2;
printf("input n(n>0):\n");
scanf("%d",&n);/*ΚδΘλΡ­»·ΦΥΦΉ±δΑΏn*/
sum1=0;
 sum2=0;
for(i=1;i<=n;i++)
if(i%2==1)
sum1+=i;
else
sum2+=i;
printf("sum1=%d,sum2=%d\n",sum1,sum2);
}
