In one year, a school uses 12,370 pieces of white paper, 5,670 fewer pieces of blue paper than white paper, and 2,600 fewer pieces of yellow paper than blue paper. How many pieces of paper does the school use in all?