#include <iostream>
#include <string>
int main()
{
std::string to_replace = "Hello!!";
std::string punctuation = "!.,;:"; // Add more if needed
size_t n = 0;
while((n = to_replace.find_first_of(punctuation, n)) != std::string::npos)
to_replace.erase(n, 1);
std::cout << to_replace;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgoKaW50IG1haW4oKQp7CiAgICBzdGQ6OnN0cmluZyB0b19yZXBsYWNlID0gIkhlbGxvISEiOwoKICAgIHN0ZDo6c3RyaW5nIHB1bmN0dWF0aW9uID0gIiEuLDs6IjsgLy8gQWRkIG1vcmUgaWYgbmVlZGVkCiAgICBzaXplX3QgbiA9IDA7CiAgICB3aGlsZSgobiA9IHRvX3JlcGxhY2UuZmluZF9maXJzdF9vZihwdW5jdHVhdGlvbiwgbikpICE9IHN0ZDo6c3RyaW5nOjpucG9zKQogICAgICAgIHRvX3JlcGxhY2UuZXJhc2UobiwgMSk7CiAgICBzdGQ6OmNvdXQgPDwgdG9fcmVwbGFjZTsKfQ==