Dealer cost for a lease return.

I was looking at a CPO car that was leased from the same dealership when it was a new one, aka a lease return. I was curious if it is possible to estimate the cost to the dealer for that vehicle. Or at least to understand if, on average, a lease return costs the dealer more than a car they get from a customer trading one in. Asked another way, which type of car does a dealer prefer to sell as used…. a lease return or a trade in? Or does it not matter?