#include int main(void){ double p,q=99,t,nt,r; scanf("%lf%lf",&p);p/=100; t = p*q; nt =(100 - p)*(100 - q); printf("%.13lf\n",100-(t * 100/(t+nt))); return 0; }