#include <iostream>
using namespace std;

int main() {
	std::string x("Hello");

	std::string y = x;  // x and y use the same buffer

	y += ", World!";    // now y uses a different buffer
                    // x still uses the same old buffer
    cout << x + "\n";
    cout << y;
	return 0;
}