#include <stdio.h>
#include<math.h>
int main() {
     float a;
     
     scanf("%f",&a);
     int ret = a+0.5f;
     printf("%d",ret);
}