A rectangular prism has a height of 4 inches and a width of 12 inches. If the prism can hold 432 cubic inches of water, what is the height of the prism?