I have no idea if the solution is correct.  I get 0