Help me Decide

so im having a hard time deciding which one to buy either the RZR 1000 xp used around 17k or a new 1000s for around 16500 OTD. both have their upsides the S is smaller for fitting in the toy hauler or on tighter trails also it has a better power to weight ratio. but the xp I believe would be better on the dunes which is atleast 60% of the riding i do. what do you guys think is the better bet