```cpp
include[HTML_REMOVED]
include[HTML_REMOVED]
using namespace std;
int main(){
string s,maxs;
getline(cin,s);
int len=s.size(),sum=0,max=0;
maxs=s.substr(0,1);
for(int i=0;i<len;i++){
if(s[i]!=' '&&s[i]!='.') sum++;
else if(s[i]==' '||s[i]=='.'){
if(sum>max){
max=sum;
maxs=s.substr(i-sum,sum);
}
sum=0;
}
}
cout<<maxs;
return 0;
}