The dream is over for “Inception,” which finally lost the No. 1 spot at the box office to “The Other Guys” after three weeks on top. A buddy-cop comedy from Sony starring Will Ferrell and Mark Wahlberg, “The Other Guys” earned $35.5 million in its opening weekend. “Inception” fell to No. 2 with $18.5 million. The week’s other new wide release, the dance sequel “Step Up 3-D” opened in third place with $15.8 million.

The top 20 movies at U.S. and Canadian theaters Friday through Sunday, followed by distribution studio, gross, number of theater locations, average receipts per location, total gross and number of weeks in release, as compiled Monday by Hollywood.com are:

1. “The Other Guys,” Sony, $35,543,162, 3,651 locations, $9,735 average, $35,543,162, one week.

2. “Inception,” Warner Bros., $18,505,470, 3,418 locations, $5,414 average, $227,637,569, four weeks.

3. “Step Up 3-D,” Disney/Summit Entertainment, $15,812,311, 2,435 locations, $6,494 average, $15,812,311, one week.

4. “Salt,” Sony, $10,908,204, 3,317 locations, $3,289 average, $91,788,345, three weeks.

5. “Dinner for Schmucks,” Paramount, $10,375,397, 3,004 locations, $3,454 average, $46,620,949, two weeks.

6. “Despicable Me,” Universal, $9,283,360, 3,413 locations, $2,720 average, $209,287,345, five weeks.

7. “Cats & Dogs: The Revenge of Kitty Galore,” Warner Bros., $6,902,116, 3,705 locations, $1,863 average, $26,428,266, two weeks.

8. “Charlie St. Cloud,” Universal, $4,700,490, 2,725 locations, $1,725 average, $23,496,620, two weeks.

9. “Toy Story 3,” Disney, $3,119,088, 1,714 locations, $1,820 average, $396,387,342, eight weeks.

10. “The Kids Are All Right,” Focus, $2,597,177, 994 locations, $2,613 average, $14,040,182, five weeks.