#include

using namespace std;

int main(){

float a;
cin>>a;

if(a-(int)a>=0.5)
    cout<<(int)a+1;
else
    cout<<(int)a;
return 0;

}