Retirement corpus: How to beat inflation, avoid running out of funds