y=x-1(x<0),0(x=0),x+1(x>0)main(){int x,y;scanf("%d",&x);if(x==0)y=0;if(x>0)y=x+1;if(x<0)y=x-1;printf("%d",y);}