### Instruction: In Company B, the total monthly payroll for the 20 factory workers is $36,000 and the total monthly payroll for the 50 office workers is $110,000. By how much does the average (arithmetic mean) monthly salary of an office worker exceed that of a factory worker in this company?
Answer Choices: (A) $400 (B) $450 (C) $500 (D) $550 (E) $600 Let's write a program.### Response: factory_workers = 20
office_workers = 50
factory_payroll = 36000
office_payroll = 110000
# calculate the average salary for factory and office workers
avg_factory_salary = factory_payroll / factory_workers
avg_office_salary = office_payroll / office_workers
# calculate the difference
salary_difference = avg_office_salary - avg_factory_salary
print(salary_difference)