How investing can help you beat inflation | Fortune