u=50 d=10 n=0 while d>=0.01: u = 0.7*u+20 d = 200/3 - u n = n + 1 print(n)