The area of a parallelogram is 342 square cm. The sum of its bases is 36 cm. Each slanted side measures 20 cm. What is the height?