Sarah had 9 piles of Halloween candy, and each pile had 108 pieces of candy. She ate 36 pieces from each pile, so how much total pieces of candy does she have left?