a theater charges $ 12 for seats in the orchestra and $ 8 for seats in the balcony . on a certain night , a total of 340 tickets were sold for a total cost of $ 3,320 . how many more tickets were sold that night for seats in the balcony than for seats in the orchestra ?
n0 = 12.0
n1 = 8.0
n2 = 340.0
n3 = 3320.0
t0 = n0 * n2
t1 = 1000.0 * 3.0
t2 = 100.0 * 3.0
t3 = 10.0 * 2.0
t4 = n0 - n1
t5 = t1 + t2
t6 = t5 + t3
t7 = t0 - t6
t8 = t7 / t4
t9 = n2 - t8
answer = t8 - t9
print(answer)