#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
int main()
{
std::string sentence{" Hello how are you."};
std::stringstream ss{sentence};
std::string junkWord;
if (ss >> junkWord >> std::ws && std::getline(ss, sentence, '\0'))
std::cout << sentence << '\n';
else
std::cerr << "the sentence didn't contain ANY words at all\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3N0cmVhbT4KI2luY2x1ZGUgPGlvbWFuaXA+CgppbnQgbWFpbigpCnsKICAgIHN0ZDo6c3RyaW5nIHNlbnRlbmNleyIgIEhlbGxvICAgaG93IGFyZSB5b3UuIn07CiAgICBzdGQ6OnN0cmluZ3N0cmVhbSBzc3tzZW50ZW5jZX07CiAgICBzdGQ6OnN0cmluZyBqdW5rV29yZDsKICAgIGlmIChzcyA+PiBqdW5rV29yZCA+PiBzdGQ6OndzICYmIHN0ZDo6Z2V0bGluZShzcywgc2VudGVuY2UsICdcMCcpKQogICAgICAgIHN0ZDo6Y291dCA8PCBzZW50ZW5jZSA8PCAnXG4nOwogICAgZWxzZQogICAgICAgIHN0ZDo6Y2VyciA8PCAidGhlIHNlbnRlbmNlIGRpZG4ndCBjb250YWluIEFOWSB3b3JkcyBhdCBhbGxcbiI7Cn0=