Concord, New Hampshire (CNN) – Benefiting from the luck of the draw Wednesday, Rep. Michele Bachmann's name will be listed near the top of New Hampshire primary ballots in January.
The secretary of state's office holds a drawing to determine the order candidates will be listed on the ballot. Each candidate is assigned a number, and the deputy secretary of state draws one number out of a box.
There are 30 Republicans running in the New Hampshire presidential primary. Whoever's number is drawn goes first and then all the other candidates follow alphabetically.
Republican Joe Story - number 27 - was drawn Wednesday, which means he will be listed on the ballot first. The rest of the field will follow in alphabetical order.
As a result, former Massachusetts Gov. Mitt Romney's name will appear near the bottom and former Sen. Rick Santorum will be the last name listed.
An earlier drawing for the Democratic ballot put anti-abortion rights activist Randall Terry at the top of the list. That means President Barack Obama will be listed near the bottom of the ballot.
Cain gets testy with reporters
Block: I'll quit smoking if Cain wins election
New Hampshire to vote Jan. 10
Cain shows inconsistencies in foreign policy understanding
Five candidates offer ideas on strengthening U.S. manufacturing
Cain raises more than $400k in one day; supporters call allegations 'high-tech' lynching