A man lives on the 30th floor of an apartment building.

Each day he takes the elevator from his flat to the ground floor. However, his return trip on the elevator is slightly more complicated: On sunny days he take the elevator to the 20th floor and walks up the steps to his flat on the 30th. On rainy days he takes the elevator all the way to the 30th floor.

Why?

James.