int main()
{
string line,word;
vector st;
vector::iterator it;
int size,i;
int tl;
string tmp,tmp1,tmp2;
while(getline(cin,line))
{
st.clear();
istringstream stream(line);
while(stream>>word)
{
if(word!="a"&&word!="an"&&word!="the"&&word!="of"&&word!="and"&&word!="for"&&word!="A"&&word!="An"&&word!="The"&&word!="Of"&&word!="And"&&word!="For"&&word!="AN"&&word!="THE"&&word!="OF"&&word!="AND"&&word!="FOR")
{
size=word.size();
i=0,tl=0;
int ltl=0;
while(1)
{
if(i>=size)break;
for(;i
{
if(word[i]=='-')
break;
}
tmp1=word.substr(ltl,tl-ltl);
if(tmp1!="a"&&tmp1!="an"&&tmp1!="the"&&tmp1!="of"&&tmp1!="and"&&tmp1!="for"
&&tmp1!="A"&&tmp1!="An"&&tmp1!="The"&&tmp1!="Of"&&tmp1!="And"&&tmp1!="For"
&&tmp1!="AN"&&tmp1!="THE"&&tmp1!="OF"&&tmp1!="AND"&&tmp1!="FOR")
{
tmp=word[ltl];
st.push_back(tmp);
}
ltl =tl+1;
i++;
tl++;
}
// if(i==size)
// {
// tmp=word[0];
// st.push_back(tmp);
// }
// else
// {
// tmp1=word.substr(0,tl);
// tmp=tmp1[0];
// st.push_back(tmp);
// tmp2=word.substr(tl+1,size-tl);
// tmp=tmp2[0];
// st.push_back(tmp);
// }
}
}
for(it=st.begin();it!=st.end();it++)
{
cout<
}
cout<
}
return0;
}