#include <iostream>
#include<cmath>
using namespace std;

int main() {
   float f;
   cin >> f;
   //int ff = (int)round(f);
   cout << round(f) <<endl;
return 0;
}
// 64 位输出请用 printf("%lld")