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