#include<iostream>
#include<string>
using namespace std;
int main()
{
string a("qwert");
string b("ertggggg");
int alen=a.size();
string c(a,0,alen-3);
c.append(b);
cout << c;
return 0;
}
#include<iostream>
#include<string>
using namespace std;
int main()
{
string a("qwert");
string b("ertggggg");
int alen=a.size();
string c(a,0,alen-3);
c.append(b);
cout << c;
return 0;
}