#include<bits/stdc++.h> using namespace std; int main() { long double a; cin>>a; if(a>=0)cout<<int(a); else cout<<int(++a); }