A contractor is building a new house. He lays down 31 meters of plumbing pipes for the ground floor and 45 meters for the second floor. Later, he realizes that he can save some pipes by re-routing and saves 22 meters from the total length. How much total length of plumbing pipes does he finally use in the house?