If the distances of an object and its virtual image from the focus of a convex lens of focal length f are 1 cm each, then f is