if sam earned $4,000 and gave 1/5 wawy and invested 1/2 of the remaining amount how much did he have left?

4000 * 1/5 = 4000/5 = 800

4000 - 800 = 3200

1/2 * 3200 = ?