For a school play,the teacher asked the class to set up chairs in 20 rows with 25 chairs in each row.After setting up all the chairs,they were 5 chairs short.How many chairs did the class set up

A. 400
B. 450
C. 495
D. 500