include <stdio.h> main(){ float a,m;int t;scanf("%f",&a);if (a>0){t=(int)a;m=(float)(t+0.5);if(a>=m){ t=t+1;} printf("%d",t);} else printf("error");}