#include <stdio.h>
int main(void)
{
    double num;
    scanf("%lf",&num);
    printf("%d",(int)(num + 0.5));
    return 0;
}