a grocer has a sale of rs . 5420 , rs . 5660 , rs . 6200 , rs . 6350 and rs . 6500 for 5 consecutive months . find the sale he should have in the sixth month , so that he gets an average sale of rs . 6400 ?
n0 = 5420.0
n1 = 5660.0
n2 = 6200.0
n3 = 6350.0
n4 = 6500.0
n5 = 5.0
n6 = 6400.0
t0 = n5 + 1.0
t1 = n0 + n1
t2 = n2 + t1
t3 = n6 * t0
t4 = n3 + t2
t5 = n4 + t4
answer = t3 - t5
print(answer)