A trapezoid has an area of 400 square millimeters. The bases are 14 and 36 millimeters. What is the height of the trapezoid?