#include <cstdio>
#include <iostream>
#include<algorithm>
#include<map>
#include<cstdlib>
#include<cstring>
using namespace std;
int n,m,i,j,k;
int f[114];
map<int,int>ff;
int main()
{
char s[1145];
cin>>s;
for(i=0;i<strlen(s);++i)
{
if(s[i]=='.')
break;
else
{
if(s[0]=='-'&&s[1]=='0'){
cout<<s[1];
break;
}
else
cout<<s[i];
}
}
cout<<endl;
return 0;
}