89. Divide 40 chess pieces into 27 piles. The number of chess pieces in each pile is $1, 2$ or 3. If the number of piles with only 1 chess piece is twice the number of the remaining piles, then the number of piles with exactly 2 chess pieces is $\qquad$ piles.