Passage: According to a 2012 report by the Organisation for Economic Co-operation and Development (OECD), Canada is one of the most educated countries in the world; the country ranks first worldwide in the number of adults having tertiary education, with 51 percent of Canadian adults having attained at least an undergraduate college or university degree. Canada spends about 5.3% of its GDP on education. The country invests heavily in tertiary education (more than US$20,000 per student). As of 2014, 89 percent of adults aged 25 to 64 have earned the equivalent of a high-school degree, compared to an OECD average of 75 percent.Since the adoption of section 23 of the Constitution Act, 1982, education in both English and French has been available in most places across Canada. Canadian provinces and territories are responsible for education provision. The mandatory school age ranges between 5–7 to 16–18 years, contributing to an adult literacy rate of 99 percent. In 2002, 43 percent of Canadians aged 25 to 64 possessed a post-secondary education; for those aged 25 to 34, the rate of post-secondary education reached 51 percent. The Programme for International Student Assessment indicates Canadian students perform well above the OECD average, particularly in mathematics, science, and reading.

Question: What are the mandatory school ages?
5–7 to 16–18 years