#include <iostream>
#include <math.h>
using namespace std;

int main()
{
    float n;
    cin >> n;

    cout<<round(n)<<endl;
    
    return 0;
}
//使用取整函数,需要包含头文件<math.h>
//ceil   向上取整
//floor  向下取整
//round  四舍五入取整