The foot of a ladder 25 m long is 7 m from the base of the building. If the top of the ladder slips by 4 m, then by how much distance will the foot of the ladder slide?