A poster is 16 inches long and 24 inches wide. It is enlarged so that the shorter side is 24 inches. What is the length of the longer side?