I placed the 4 weights in the system considering the 23g that are already there in order to accumulate exactly 244g, but nothing happened. I took one weight 3 times, maybe is this the problem?
I'll have to have a look at that, maybe the maths is off or I've coded it slightly wonky. Is the puzzle too hard btw? I maybe went a bit OTT on that one. Thanks for the feedback, and sorry for the delayed response!