How AI Learned to Think