WASHINGTON (AP) — The head of the International Monetary Fund warned Thursday that Russia’s war against Ukraine was weakening the economic prospects for most of the world’s countries and called high inflation “a clear and present danger’’ to the global economy.