Email-запись: A topological invariant to predict the three-dimensional writhe of ideal configurations of knots and links