def ineq_satisfy?(x,s,a) ar=100*x.to_f/s.to_f (a-0.5<=ar)&&(ar