A bin contains a total of 173 octagon boxes. For two jobs, 47 boxes and 65 boxes are taken from the bin. One job uses 4 boxes less than originally estimated, and theses 4 are returned to the bin. How many boxes are in the bin at the end of the two jobs?