#include <iostream>
#include <fstream>
#include <string>
#include <regex>
#include <iostream>
using namespace std;
int main() {
string word;
regex re(R"(\w)");
getline(cin,word);
smatch Word;
if (regex_search(word,Word,re)) {
cout<<Word.str()<<"\n";
}
/*if (fin.eof()){
i++;
fin.clear();
fin.seekg(0);
}*/
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8ZnN0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KI2luY2x1ZGUgPHJlZ2V4PgojaW5jbHVkZSA8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKSB7CglzdHJpbmcgd29yZDsKICAgIHJlZ2V4IHJlKFIiKFx3KSIpOwogICAgZ2V0bGluZShjaW4sd29yZCk7CiAgICBzbWF0Y2ggV29yZDsKICAgIGlmIChyZWdleF9zZWFyY2god29yZCxXb3JkLHJlKSkgewogICAgCQljb3V0PDxXb3JkLnN0cigpPDwiXG4iOwogICAgfQogICAgCQogCiAgICAgICAgICAgIC8qaWYgKGZpbi5lb2YoKSl7CiAgICAgICAgICAgICAgICBpKys7CiAgICAgICAgICAgICAgICBmaW4uY2xlYXIoKTsKICAgICAgICAgICAgICAgIGZpbi5zZWVrZygwKTsKICAgICAgICAgICAgfSovCiAKIAogICAgcmV0dXJuIDA7Cn0KCgo=