﻿from math import *

n=0
s=0.12
while s<=3.9:
    n=n+1
    s=39-38.88*exp(-0.01*n)
print("n =",n,"s =",round(s,2))


