def main():
    babylon()

def babylon():
    x1 = 2
    x2 = (x1+2.0/x1)*.5
    print "x2=",x2
    x3 = (x2+2.0/x2)*.5
    print "x3=",x3
    x4 = (x3+2.0/x3)*.5
    print "x4=",x4
    x5 = (x4+2.0/x4)*.5
    print "x5=",x5
    x6 = (x5+2.0/x5)*.5
    print "x6=",x6
    x7 = (x6+2.0/x6)*.5
    print "x7",x7

main() 
