A total of $30 was placed in 4 envelopes, each one with a different amount. Money from the largest share was taken to double each of the other amounts. The resulting amounts were the same as before, but in different envelopes. What were the four amounts of money?