Prime Minister Peter Magyar said that he would ask Ms. Polgar, widely regarded as the greatest ever female chess player, to take up the largely ceremonial role of President until a new constitution is passed