A company produces two types of products, A and B. The production rate for product A is 50 units per hour, while for product B, it is 30 units per hour. If the company wants to produce 200 units of product A and 150 units of product B, how many hours will they need to work in total if the production runs concurrently?