vector<string> readstringfromcin()
{
void *dummy = malloc(50);
vector<string> strs;

for(int i=0;i<5;i++)
{
std::string t;
cin >> t;
strs.push_back(t);
dummy = realloc(dummy, t.size());
}
free(dummy);
return strs;
}