Consciousness is the foundation of all thinking; and thinking is the foundation of all consciousness.
or simply: