#include <iostream>
#include <string>
#include <list>
#include <algorithm>
bool is_not_a_letter(const char c)
{
return !isalpha(c);
}
int main()
{
std::string s(":;[{abcd V 8239234");
s.erase(std::remove_if(s.begin(),
s.end(),
is_not_a_letter),
s.end());
std::cout << s << "\n";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgojaW5jbHVkZSA8bGlzdD4KI2luY2x1ZGUgPGFsZ29yaXRobT4KCmJvb2wgaXNfbm90X2FfbGV0dGVyKGNvbnN0IGNoYXIgYykKewogICAgcmV0dXJuICFpc2FscGhhKGMpOwp9CgppbnQgbWFpbigpCnsKICAgIHN0ZDo6c3RyaW5nIHMoIjo7W3thYmNkIFYgODIzOTIzNCIpOwoKICAgIHMuZXJhc2Uoc3RkOjpyZW1vdmVfaWYocy5iZWdpbigpLAogICAgICAgICAgICAgICAgICAgICAgICAgICBzLmVuZCgpLAogICAgICAgICAgICAgICAgICAgICAgICAgICBpc19ub3RfYV9sZXR0ZXIpLAogICAgICAgICAgICBzLmVuZCgpKTsKCiAgICBzdGQ6OmNvdXQgPDwgcyA8PCAiXG4iOwogICAgcmV0dXJuIDA7Cn0K