#四舍五入函数:round(实型数值);

#include <cmath>
using namespace std;
 
int main() {
 
    double d;
    cin >> d;
    d=round(d);
    cout<<d;
    return 0;
}