#include <cstdio> #include <iostream> using namespace std; int main() { int temp; int sum = 0; while (cin >> temp) { sum += temp; if (getchar() == '\n') { cout << sum << endl; sum = 0; } } } // 6...