Paul bought 6 boxes of chocolate candy. 4 boxes were filled incorrectly with caramel candy. If each box has 9 pieces inside it, how much chocolate candy did he have total?