"Okay, so it's the end of the month, and we needed first and last for a new place that's cheaper. Nice move with the bank account, by the way, that was brilliant. Great way to provide for your son. So the only way we could get the cash was by getting back the last month's rent from the old place. [...]"
(Benjamin Crowell; Running)
I think that 'first and last' should play the role of an adverb here, but I can't understand why it is "we needed... for" instead of "we needed... a new place". My dictionaries state that I am to use 'for' with 'need' in 'need something for something' or 'a need for', but not in the construction in question (if I am right about 'first and last' being an adverb).
Could you explain it to me?
They need the first and last month's rent in order to move into an apartment that is cheaper. It is customary that one pays two months' rent when signing a lease. The last month's rent is held as a security deposit.