#include <iostream>
#include <string>
#include <sstream>
using namespace std;
int main()
{
stringstream ss;
ss << "Original string ";
ss.str("Updated string ");
ss << "sth else";
cout << ss.str() << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8c3N0cmVhbT4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CmludCBtYWluKCkKewogICAgc3RyaW5nc3RyZWFtIHNzOwogICAgc3MgPDwgIk9yaWdpbmFsIHN0cmluZyAiOwogICAgc3Muc3RyKCJVcGRhdGVkIHN0cmluZyAiKTsKICAgIHNzIDw8ICJzdGggZWxzZSI7CiAgICBjb3V0IDw8IHNzLnN0cigpIDw8IGVuZGw7Cn0=