Shrek opened on around 6,000 screens[95] across 3,587 theaters;[96] eleven of them showed the film digitally, made possible by the THX Division of Lucasfilm.[97] This was the first time that DreamWorks had shown one of its films digitally.[98] The film earned $11.6 million on its first day and $42.3 million on its opening weekend, topping the box office for the weekend and averaging $11,805 from 3,587 theaters.[99] In its second weekend, due to the Memorial Day Weekend holiday, the film gained 0.3 percent to $42.5 million and $55.2 million over the four-day weekend, resulting in an overall 30 percent gain.[100] Despite this, the film finished in second place behind Pearl Harbor and had an average of $15,240 from expanding to 3,623 sites.[100] In its third weekend, the film retreated 34 percent to $28.2 million for a $7,695 average from expanding to 3,661 theaters.[101] The film closed on December 6, 2001, after grossing $267.7 million domestically, along with $216.7 million overseas, for a worldwide total of $484.4 million.[5] Produced on a $60 million budget, the film was a huge box office smash and is the fourth highest-grossing film of 2001 behind Harry Potter and the Philosopher's Stone, The Lord of the Rings: The Fellowship of the Ring, and Monsters, Inc..[5] The film sold an estimated 47,290,600 tickets in North America.[102]