An auto repair shop charged a customer $496 to repair a car. The bill listed $96 for parts and the remainder for labor. If the cost of labor is $40 per hour, how many hours of labor did it take to repair the car?