A company produces boxes of DVD's at a rate of 52 boxes per hour. They begin to produce boxes when they first open for the day and after three hours have 404 boxes in stock. How many boxes were in stock when they opened?