#include<iostream> using namespace std; int main() { float x; cin>>x; cout<<(int)(x+0.5)<<endl;//在C++中,强制转换double到int会直接截断小数部分 return 0; }