For her birthday, Des received two envelopes containing different amounts of money. The total amount of her money was 500. After spending 3/5 of the amount in the first envelope and 80 from the second envelope , the two envelopes now contain the same amount of money. How much was in each envelope before she spent some of the money?