function sqrt (a)
  x = 1
  for i = 1:7
    x = 0.5*(x + a/x)
    print(i)
    println(x)
  end
  return x 
end

i = 10
if i<7
  print(1)
elseif i<8
  print(8)
elseif i<9
  print(9)
else
print(10)
end
