six positive integers are written on the faces of a cube. each vertex is labeled with the product of the three numbers on the faces adjacent to the vertex. if the sum of the numbers on the vertices is equal to $1001$, then what is the sum of the numbers written on the faces?