matt gets a $ 1000 commission on a big sale . this commission alone raises his average commission by $ 150 . if matt ' s new average commission is $ 250 , how many sales has matt made ?
n0 = 1000.0
n1 = 150.0
n2 = 250.0
t0 = 1000.0 - 100.0
t1 = n2 - n1
t2 = n2 - t1
answer = t0 / t2
print(answer)