investir no S&P500 nos últimos anos