the average monthly salary of 8 workers and one supervisor in a factory was 430 . @ sswhen @ ssthe @ sssupervisor @ cc @ sswhose @ sssalary @ sswas @ ss 430 . @ sswhen @ ssthe @ sssupervisor @ cc @ sswhose @ sssalary @ sswas @ ss 430 . whenthesupervisor , whosesalarywas 430 . when the supervisor , whose salary was 870 per month , retired , a new person was appointed and then the average salary of 9 people was $ $ 440 per month . the salary of the new supervisor is :
n0 = 8.0
n1 = 430.0
n2 = 430.0
n3 = 430.0
n4 = 430.0
n5 = 870.0
n6 = 9.0
n7 = 440.0
t0 = n6 * n7
t1 = n1 * n6
t2 = t1 - n5
answer = t0 - t2
print(answer)