Mary, Jonatha and David shared a sum of money. The total amount of money received by Jonathan was 2/3 the amount received by David. Mary received twice as much as what Jonathan and David received. After Mary had given $48 to Jonathan and $27 to David, and Jonathan gave $3 to David. At the end 3 of them had the same amount of money. Find the difference between the amount of money that Jonathan and Mary had at first