The cube shown in the figure has a positive integer written on each face. The products of the two numbers on opposite faces are the same. What is the smallest possible sum of the six numbers on the cube?