double p,q,d; {rd(p,q); p*=0.01; q*=0.01; wt(p*q*100/(p*q+(-p+1)*(-q+1)));}