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
Similarly x+ 4/5 y = 460
⇒5x+4y=2300 ........ (ii)
Solving (i) and (ii)
we get x=300 and y=200
So, Anuj had 500 chocolates.