Question 1051843

Hi
Ken and Ivan had some sweets. After ken gave away 5/7 of his sweets, he had 2/3 as many as ivan.
ivan then gave away 120 sweets and he had 1/4 as many sweets as ken. How many did each have at first.

thanks
<pre>At first, {{{highlight_green(matrix(2,4, Ken, had, 336, sweets, Ivan, had, 144, sweets))}}}