That was just enough to keep it ahead of Quentin Tarantino's brutal western Django Unchained, which made $30.1 million in its debut weekend in second place, ahead of musical adaptation Les Miserables at $27.3 million.
Both films are in the running in this year's Hollywood awards season, which climaxes with the Oscars on February 24. Tarantino's film already has five Golden Globe nominations, against four for Les Miz.
All-important Oscars nominations are due to be announced next Thursday on January 10.
In fourth place was another debut offering, Parental Guidance, a comedy starring Billy Crystal and Bette Midler looking after their grandchildren, which earned $14.6 million.
Tom Cruise crime drama Jack Reacher, in which the Hollywood A- lister's character investigates fictional shootings by a trained military sniper, took fifth spot with weekend earnings of $13.6 million, two weeks after its release.
Also on its second weekend in theaters, Judd Apataw's comedy This is 40, billed as "a sort-of sequel" to the 2007 film Knocked Up, slipped to sixth place $12.5 million.
In seventh spot was Steven Spielberg's political drama Lincoln -- another Oscar hopeful which topped Globes nominations with seven nods -- earning $7.3 million on its eighth weekend.
The Guilt Trip, about a mother-son road trip starring Barbra Streisand and Seth Rogan, earned $6.5 million for eighth place, just ahead of the 3D version of the 2001 animated hit Monsters, Inc, which took in $6.4 million.
Rounding out the top 10 was Dreamworks's Rise of the Guardians, featuring Jack Frost, the Tooth Fairy, the Sandman and a tattooed Russian Santa Claus, which earned $4.9 million on its sixth weekend in theaters.