#include<stdio.h>
void cube(double a){ double right = a; double left = 0.0; double ret = (right+left)/2.0; if(a>0){ if(a<1){ left = 0.0; right = 1.0; } for(ret = (right+left)/2.0; fabs(retretret-a)>0.01; ret = (right+left)/2.0){ if(retretret>a){ right = ret; } else{ left = ret; } } printf("%.1lf", ret); } else if(a<0){ if(a>-1){ left = 0.0; right = -1.0; } for(ret = (right+left)/2.0; fabs(retretret-a)>0.01; ret = (right+left)/2.0){ if(retretret<a){ right = ret; } else{ left = ret; } } printf("%.1lf", ret); } else{ printf("0.0"); }
}
int main(){ double num; while(scanf("%lf", &num) != EOF){ cube(num); } }