A box contained a number of 20-cent and 50-cent coins in the ratio 3:4. When ten 50-cent coins were taken out and replaced by 20-cent coins, the ration became 7:5. Find the sum of money in the box at first.

The administrator has disabled public write access.