def Surf(n): X=4000 for i in range(1,n+1): X=0.996*X+7.2 return X