Contributions come out first.
$4,405 + $720 = $5,125 contribution basis - $4,500 = $625 remaining basis. Nothing is taxable.