at a certain fruit stand , the price of each apple is 40 cents and the price of each orange is 60 cents . mary selects a total of 30 apples and oranges from the fruit stand , and the average ( arithmetic mean ) price of the 30 pieces of fruit is 56 cents . how many oranges must mary put back so that the average price of the pieces of fruit that she keeps is 52 cents ?
n0 = 40.0
n1 = 60.0
n2 = 30.0
n3 = 30.0
n4 = 56.0
n5 = 52.0
t0 = n2 * n4
t1 = n2 * n5
t2 = n1 - n5
t3 = t0 - t1
answer = t3 / t2
print(answer)