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