The area of a parallelogram is 486 square cm. The sum of its bases is 54 cm. Each slanted side measures 14 cm. What is the height?