#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a=0.0;
while(cin>>a)
{
cout<<(int)(a+0.5)<<endl;
}
}
int向下取整
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
double a=0.0;
while(cin>>a)
{
cout<<(int)(a+0.5)<<endl;
}
}
int向下取整