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

int main(){
    float n;
    cin  >> n;
    cout << floor(n+0.5);
}