Connor has 36¢ in nickels and pennies. He has 8 coins altogether. How many coins of each kind does he have?