#include int main() { int n; int odd = 0, even = 0; while ((scanf("%d", &n)) == 1) { if (n < 0) break; if (n % 2) odd += n; else even += n; } printf("sumodd=%d sumeven=%d", odd, even); return 0;}