zhān​qián​gù​hòu

to think over carefully