The number of vertices in a prism is twice the number of vertices of one of the bases. How many vertices does one of the bases of a regular prism with 14 faces and 36 edges have?