39. (5 points)
Four pirates are dividing 15 identical gold coins. The first pirate must get at least 4 coins, the second pirate can get none, the third pirate must get at least 2 coins, and the fourth pirate must get at least 1 coin. There are $\qquad$ different ways to divide the coins.
$165$