def qbinom(p, n):
return binom.ppf(p, n, <NUM_LIT:0.5>)<EOL>
quantile function for binomial with
probability of success 0.5
returns smallest k such that Prob(X <= k) >= p
compare to R qbinom
:param n: number
:param p: quantile level
:return: k