#include <bits/stdc++.h>
using namespace std;
int main() {

    double d;
    cin >> d;
//    double c;
//    cin>>c;
    printf("%.0f\n",round(d));

    // write your code here......
    

    return 0;
}
// 64 位输出请用 printf("%lld")