DES MOINES, Iowa -- Five weeks to Election Day, President Barack Obama is within reach of the 270 electoral votes needed to win a second term. Republican Mitt Romney's path to victory is narrowing.

To overtake Obama, Romney would need to quickly gain the upper hand in nearly all of the nine states where he and Obama are competing the hardest.

Polls show the president with a steady lead in many of them as Romney looks to shift the dynamics of the race, starting with their first debate Wednesday in Denver.

"We'd rather be us than them," said Jennifer Psaki, an Obama spokeswoman.

But Romney's running mate, Paul Ryan, says there's time for the GOP ticket to win. "In these kinds of races people focus near the end, and that's what's happening now," he told "Fox News Sunday."

If the election were held today, an Associated Press analysis shows Obama would win at least 271 electoral votes, with likely victories in crucial Ohio and Iowa, along with 19 other states and the District of Columbia. Romney would win 23 states for a total of 206.

To oust the Democratic incumbent, Romney would need to take up-for-grabs Florida, Colorado, Nevada, North Carolina, New Hampshire and Virginia, which would put him at 267 votes, and also upend Obama in either Ohio or Iowa.

The AP analysis isn't meant to be predictive. Rather, it is intended to provide a snapshot of a race that until recently has been stubbornly close in the most contested states.

It is based on a review of public and private polls, TV advertising and interviews with campaign and party officials as well as Republican and Democratic strategists in the competitive states and in Washington.

In the final weeks before the Nov. 6 vote, Obama is enjoying a burst of momentum and has benefited from growing optimism about the economy, as well as a series of Romney stumbles.

Surely, much could change in the coming weeks, which will feature presidential and vice presidential debates. Unknowns, both foreign and domestic, could rock the race.

Barring that, Romney's challenge is formidable.

Obama started the campaign with a slew of electoral-rich coastal states already in his win column. From the outset, Romney faced fewer paths to cobbling together the state-by-state victories needed to reach the magic number.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Understanding pet insurance ... Picture This: LI Arena ... What's up on LI ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Understanding pet insurance ... Picture This: LI Arena ... What's up on LI ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME