n=input("n=");
p=input("p=");
k=1;
while cdfbin("PQ",k,n,p,1-p)<=0.025
  k=k+1;
end;
a=k/n ;
disp(a);
while cdfbin("PQ",k,n,p,1-p)<0.975
  k=k+1;
end;
b=k/n ;
disp(b);
