According to the statistics from the Donner party, it’s better to be a woman between 20-39.

https://www.researchgate.net/figure/Donner-Party-Members-Sex-and-Survivorship-by-Seventh-Census-Age-Class_tbl3_268376085

Now, what about fat vs skinny?

Within one or two days of your last meal, your body will have exhausted all the glycogen stored in the liver and muscles. Most of your energy requirements will be met by breaking down stored fat into ketones, but brain cells and red blood cells can’t metabolise ketones, so their glucose requirements must be met by breaking down muscle.

Even if you have lots of body fat left to burn, you can still starve to death if you don’t have enough muscle because vital muscles like the heart will have been weakened to the point where they stop working. For this reason, doctors normally consider 40 to 50 per cent weight loss as life-threatening, regardless of your initial body weight.

Total starvation is normally fatal in eight to 12 weeks. In less extreme cases, however, where you are still receiving some calories - particularly if these calories include a high proportion of protein - being fat will help you survive much longer, because your body will be able to meet the majority of your calorie requirements from stored fat.

https://www.sciencefocus.com/the-human-body/who-would-die-first-of-starvation-a-fat-or-a-thin-person/

So, if you know help will eventually get to you, being a larger woman is to your benefit. If you know help is probably not on the way, being a fit man or woman is most likely your better bet, as you’ll need to be active in hunting down prey or searching for other food sources.