Medusa Company allocates costs from the payroll department (S1) and the maintenance department (S2) to the molding (p1), finishing (p2), and packaging (p3) departments. Payroll department costs are allocated based on the number of employees in the department and maintenance departments costs are allocated based on the number of square feed which the production department occupies within the factory. inforamation about the department is presented below: