#include<iostream>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
string st;
void scan()
{
st="";
int ch=getchar_unlocked();
while(ch<'a'||ch>'b')
{
if(ch>='A'&&ch<='Z')
break;
ch=getchar_unlocked();
}
while((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z'))
{
st+=(char)ch;
ch=getchar_unlocked();
}
}
int main()
{
scan();
cout<<st;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CiNpbmNsdWRlPHN0ZGlvLmg+CiNpbmNsdWRlPHN0ZGxpYi5oPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwpzdHJpbmcgc3Q7CnZvaWQgc2NhbigpCnsKICAgIHN0PSIiOwogICAgaW50IGNoPWdldGNoYXJfdW5sb2NrZWQoKTsKICAgIHdoaWxlKGNoPCdhJ3x8Y2g+J2InKQogICAgewogICAgICAgIGlmKGNoPj0nQScmJmNoPD0nWicpCiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIGNoPWdldGNoYXJfdW5sb2NrZWQoKTsKICAgIH0KICAgIHdoaWxlKChjaD49J2EnJiZjaDw9J3onKXx8KGNoPj0nQScmJmNoPD0nWicpKQogICAgewogICAgICAgIHN0Kz0oY2hhciljaDsKICAgICAgICBjaD1nZXRjaGFyX3VubG9ja2VkKCk7CiAgICB9Cn0KaW50IG1haW4oKQp7CiAgICBzY2FuKCk7CiAgICBjb3V0PDxzdDsKCXJldHVybiAwOwp9