In the diagram, each of the numbers 0,1,2,3,4,5,6, and 7 is to be used to label a vertex of the cube. The numbers 0,2 and 3 are placed as shown. The sum of the numbers at the ends of each edge must be a prime number. (Note: 1 is not a prime number.) The value of M+N+P+Q must be

Answer Choices
A. 16
B. 17
C. 18
D. 19
E. 22