Is education the first thing that a country in crisis(such as Greece) should change or is the reform of its economy more important at first?

Do you believe that education is much more important to change in order to change the structure of the society in the long-term or is the economy the first thing that we need to change in order to get prosperity? Some people say that education needs good funding in order to change, and some others that economy needs great education and knowledge so as to change. Are they really that connected with each other? What is your opinion on this?