"I think I think, therefore I think I am."

Or "I think I am therefore I am, I think."

Incidentally, you're edging in onto the reason it's an outside joke.