#include<stdio.h> int main() { double s; int m; scanf("%lf",&s) ; m=(int)(s+0.5); printf("%d\n",m); return 0; }