A furniture shop refinishes cabinets. Employees use two methods to refinish cabinets. Method I takes 1.5 hours and the material costs $10. Method II takes 2.5 hours, and the material costs $8. Next week, they plan to spend 267 hours in labor and $1364 in material for refinishing cabinets. How many cabinets should they plan to refinish with each method?