realty company allocates common building department costs to producing departments (a and b) based on space occupied, and it allocates common personnel department costs based on the number of employees. space occupancy and employee data are as follows