A man lives on the 10th floor of an apartment building. Every morning he takes the elevator all the way down and goes to work. In the evening, when he comes back, he takes the elevator to the 7th floor and walks the rest of the way up, unless it is raining. Then he goes straight to the 10th floor. Why?