How Memorization Can Develop a Perfect Mind