Sandra Bullock and Melissa McCarthy brought "The Heat" against Channing Tatum and Jamie Foxx at the box office.

The Fox action-comedy starring the funny ladies as mismatched detectives earned $40 million in second place in its opening weekend, topping the $25.7 million debut haul of Sony's "White House Down," The Associated Press reports.

The Disney-Pixar animated prequel "Monsters University" remained box-office valedictorian in its second weekend. It earned $46.1 million to take first place.

Overall, Paul Dergarabedian, an analyst for box-office tracker Hollywood.com, said revenue and attendance are now both down just 2 percent over last year.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME