The base of a prism is a right triangle with legs measuring 14 inches and 18 yards. If the height of the prism is 20 yards, find its volume in cubic yards