#include<bits/stdc++.h> using namespace std; int main(){ float a; cin>>a; if(a>0){ cout<<floor(a); } else{ cout<<ceil(a); } return 0; }