IRA and 401K withdrawls

We are looking at moving to a senior living community which will require an up-front payment of $400K to $500K. How can I withdraw funds from a 401K or IRA to do this without a huge tax payment? I am 70 now.