1st person can leave at any of seven floors in 7 ways
2nd person can leave at any of seven floors in 6 ways
3rd person can leave at any of seven floors in 5 ways
4th person can leave at any of seven floors in 4 ways
5th person can leave at any of seven floors in 3 ways
total ways =7*6*5*4*3 =2520