#include #include #include using namespace std; int main() { ifstream fi; int nline = 255; char line[nline]; string s; fi.open("input.txt"); while (fi.getline(line,nline)) { stringstream ss(line); string w; int n = 0, k=0; while (ss >> w) { n++; k+= atoi(w.c_str()); cout << w<<" "<