More than 300 candidates have filed to run for public office in Missouri.

Numbers from the secretary of state's office at the end of the day Tuesday show 335 hopefuls officially became candidates on the first day of filing.

Those who waited in winding lines Tuesday at the secretary of state's office drew numbers from a cookie jar to determine the order of ballot placement on the Aug. 2 primary ballots.

Two Democrats and four Republicans officially entered the race to succeed Gov. Jay Nixon, who is term limited.

Secretary of State Jason Kander officially filed to challenge Republican U.S. Sen. Roy Blunt, who's up for re-election.

The ballot also will include other statewide offices, federal and state legislative seats and some judgeships.

Candidate filing ends March 29. The general election is Nov. 8.

Thinkstock Images