WASHINGTON (AP) — The nation’s security and economic prosperity are at risk if schools do not improve, warns a report by a panel led by former Secretary of State Condoleezza Rice and Joel I. Klein, a former chancellor of New York City’s school system.

“The dominant power of the 21st century will depend on human capital,” the report said. “The failure to produce that capital will undermine American security.”

The report said that the State Department and intelligence agencies face critical shortages in the number of foreign-language speakers and that fields like science, defense and aerospace are at risk because a shortage of skilled workers is likely to worsen as baby boomers retire.

According to the panel, 75 percent of young adults do not qualify to serve in the military because they are physically unfit or have criminal records or inadequate levels of education. It said 30 percent of high school graduates do not do well enough on an aptitude test to serve.