while (fin >> str) cout << str << endl;