LOS ANGELES: “Goosebumps,” based on spooky children’s books by R.L. Stine, shot straight in at the top of the North American box office over the weekend, estimates out Sunday showed.

Sony’s action-comedy pulled in $23.5 million in box office revenue on Friday to Sunday on its debut in Canada and the United States, tracker Exhibitor Relations said.

The children’s flick knocked “The Martian” — which brought in $21.5 million in its third week in theaters — off top spot.

The critically acclaimed blockbuster starring Matt Damon as an astronaut stranded on Mars has now made $143.8 million at theaters.