Solution:
Let the number of chocolates in lot A be x
And let the number of chocolates in lot B be y
∴ total number of chocolates =x+y
Price of 1 chocolate = ₹ 2/3, so for x chocolates = 2/3 x
and price of y chocolates at the rate of ₹ 1 per chocolate =y.
∴ by the given condition 2/3 x +y=400
⇒2x+3y=1200 ..............(i)
Similarly x+ 4/5 y = 460
⇒5x+4y=2300 ........ (ii)
Solving (i) and (ii)
we get x=300 and y=200
∴x+y=300+200=500
So, Anuj had 500 chocolates.