There are three piles of sugar, of which the first pile has more pieces than the second pile, and the second pile has more pieces than the third pile. If one piece of candy is taken from each pile, the number of pieces in the first pile is three times that of the second pile, and if the same number of pieces is taken from each pile, there are 32 pieces left in the first pile , then the number of candies left in the second pile is twice that of the third pile. How many candies are there in the three piles of candies?
现有三堆糖，其中第一堆的块数比第二堆多，第二堆的块数比第三堆多．如果从每堆糖果中各取出一块，那么剩下的糖果中第一堆的块数是第二堆的3倍，如果从每堆糖果中取出同样多块，使得第一堆还剩下32块，则第二堆剩下的糖果数是第三堆的2倍，问三堆糖果总共最多有多少块糖？
<result>113</result>