When you exit a place you are leaving so you wouldn't do that the first thing.
Which of the following sentences is nonsensical?
(A) "the last thing you do when you go to the mall is walk out the exit"
(B) "the first thing you do when you go to the mall is walk out the exit"