Aisha has 8 coins worth 50¢. If the coins are all dimes and nickels, how many dimes and nickels does she have?