Oh really? Is it only the chocolate bar or that's in addition to everything else?
Where I live, a chocolate bar is ~600Cal. I would definitely lose weight living on 600Cal a day (it won't be healthy/sustainable but the weight is going to be lost for sure).
Donate the lost money to the charity of your choice.