Start: Jul, 10, 2019 08:30:00
2019年度暑期短学期达标测试补考
End: Jul, 10, 2019 11:30:00
Time elapsed:
Time remaining:

Problem_ID: D
Result: Accepted
Time: 4ms
Memory: 1756kB
Author: 2018212212122
In contest: 1284

#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;
}