a=input("a = ")
p=input("p = ")
N=0
while a-exp(1)>=10^(-p)
    a=a/ln(a)
    N=N+1
end
afficher(N)