Distributor packages and sells two types of products, A and B. The respective sales prices for the products are $10 and $5. The distributor has enough storage capacity for 1000 total products. Packaging for product A requires 2 hours and for the product B requires 5 hours. The packaging budget allows for only 5000 hours of labor for packaging. This linear program can be formulated as ___.