from math import exp,sqrt
x = 1
for i in range(4):
    x = x - (exp(-x) - sqrt(x)) / (-exp(-x)-1/(2*sqrt(x)))
    print(x)
