Patty has 20 coins, consisting of nickels and dimes. If her nickels were dimes and her
dimes were nickels, she would have 50 cents more. How much are her coins worth?