This question resolves to whatever the president or general secretary states to identify. [Meaning a trans woman would resolve to yes.]
If China or Russia splits up, this question will resolve according to the split with the biggest population.
If the countries further don't have a president or general secretary, I or a moderator are free to judge which position comes closest to it, and it will count as a matter for this question.
The closing time might be extended.
Nine women have ruled Russia in the last thousand years according to this (though probably not all were defacto rulers), most recently Catherine the great in the eighteenth century. Only one woman (Wu zeitan) has every ruled china (and that was in the 7th century). So on priors Russia is at least ten times likelier to have a female ruler.