单项选择题

A certain rectangle has perimeter 54.If the ratio of the length of the rectangle to the width is 5 to 4,what is the length of the rectangle()

A. 30
B. 27
C. 24
D. 18
E. 15