#include <iostream>
#include <iomanip>
using namespace std;
int main() {
double d;
cin >> d;
cout << fixed << setprecision(0) << d;
/*
这里我们使用了fixed将之后的数据由浮点数变为了定点数,在使用函数serprecison(),
括号内是该定点数所要保留的精度,填1则保留一位小数,题中我们填0,即对d进行取整,
需要说明的是这里的函数setprecison()在保留小数点后数字的时候遵循的是四舍五入法则,
故我们通过应用它实现了d的四舍五入。
*/
return 0;
}