#define N 10main(){int a[N];int i,t,sum1=0,sum2=0;for (i=0;i scanf("%d",&a[i]);for (i=0;iif(a[i]%2!=0) sum1+=a[i];else sum2+=a[i]; printf("%d,%d",sum1,sum2);}