def ln(x): assert x>0 n = 0 while not(0.999