#include <iostream>
#include <string>
using std::string;
using std::cin;
using std::cout; using std::endl;
int main() // Erasing punctuations from string.
{
string input ("Hello, World!!!");
decltype (input.size()) n = 0;
while (n != input.size())
{
if (ispunct(input[n]))
{
input.erase (n,1);
}
else
++n;
cout << input << '\n';
}
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBzdGQ6OnN0cmluZzsKdXNpbmcgc3RkOjpjaW47CnVzaW5nIHN0ZDo6Y291dDsgdXNpbmcgc3RkOjplbmRsOwoKaW50IG1haW4oKSAvLyBFcmFzaW5nIHB1bmN0dWF0aW9ucyBmcm9tIHN0cmluZy4KewogICAgc3RyaW5nIGlucHV0ICgiSGVsbG8sIFdvcmxkISEhIik7CgoJZGVjbHR5cGUgKGlucHV0LnNpemUoKSkgbiA9IDA7CgoJd2hpbGUgKG4gIT0gaW5wdXQuc2l6ZSgpKQoJewoJICAgICAgICBpZiAoaXNwdW5jdChpbnB1dFtuXSkpCgkJewoJCQlpbnB1dC5lcmFzZSAobiwxKTsKCQl9CiAgICAgICAgZWxzZQoJCQkrK247CgkJY291dCA8PCBpbnB1dCA8PCAnXG4nOwoJfQp9Cg==