#include<iostream>
using namespace std;
int main() {
    float x;
    cin>>x;
    cout<<(int)(x+0.5)<<endl;
    return 0;
}