单项选择题

Josh works on the second floor of a building. There are 10 doors to the building and 8 staircases from the first to the second floor. Josh decided that each day he would enter by one door and leave by a different one, and go up one staircase and down another. How many days could Josh do this before he had to repeat a path he had previously taken()

A.80
B.640
C.800
D.5040
E.6400