Not sure if you intend this as a genuine question or as an exercise for N/B readers.
Spoiler
The long answer is that it depends on the auction. The short answer is usually Hand A, for several reasons - majors are more important than minors; it is generally easier to bid hands where the longest suit is higher ranking than the secondary suit; and we are less likely to be outbid.
Also in 5M systems, I open 1♠ showing 5 on the first, 1♣ showing 2 or 3 on the second so bidding to the right spot is easier with the first in the face of preemption.